How to create one JMeter Project ?

1. Download Apache Jmeter  3.3 files:\\SZ-G36N6H2\Soft\JmeterAutotest Softwares   → apache-jmeter-3.3.zip

2. Extract files from this compressed files then find the ApacheJMeter.jar  in the "apache-jmeter-3.3\bin" directory.

3. Double click the ApacheJMeter.jar to open the jMeter workplace:

How to create one JMeter Project ?_第1张图片

4. Add Thread Group:  Right Click Test Plan→ Add →Threads(Users) → Thread Group

How to create one JMeter Project ?_第2张图片

5. Set group parameters by your testing scenario:

How to create one JMeter Project ?_第3张图片

6. Add HTTP Request by right click the Thread Group → Add Sampler → HTTP Request:

How to create one JMeter Project ?_第4张图片

7. Enter all parameters for the HTTP request which you want to test:

How to create one JMeter Project ?_第5张图片

8. Add Response Assertion for this HTTP Request:

How to create one JMeter Project ?_第6张图片
How to create one JMeter Project ?_第7张图片

9. You can also add HTTP Header Manager to add headers for the HTTP Request:

How to create one JMeter Project ?_第8张图片
How to create one JMeter Project ?_第9张图片

10. Add "View Results Tree" and "Summary Report" to analyze the request's result:

How to create one JMeter Project ?_第10张图片

These two elements are used to debug the http request you want to test, if it works ok(pass your assertion), you can disable these 2 elements since they waste much time.

11. Run the whole Test Plan: (The first time you click the run button, you need to save it firstly):

How to create one JMeter Project ?_第11张图片

12. Check request's status and response:

How to create one JMeter Project ?_第12张图片

13. Check all request's summary report:

How to create one JMeter Project ?_第13张图片

你可能感兴趣的:(How to create one JMeter Project ?)