Joke Collection Website - Blessing messages - How to do stress test with Jmeter

How to do stress test with Jmeter

Set the server name or ip to 127.0.0. 1 and the port number to 8080, set the post method, and set the path of the website login address, such as "/exam/operatorAction".

Login requires a user name and password. Add parameters to the Send parameters with request list. Set parameter values according to the web application. Such as login _ user = 0001; log in _ password = 1; ActFlag = login.

Generally, a website will generate a session in tomcat after logging in, and then visit other pages without logging in again, provided that the browser supports cookie. The same is true in jmap. If you want to continue visiting other pages, you need to make the following key settings.

Apache JMeter

It is a Java-based stress testing tool developed by Apache organization. Used for stress testing of software, originally designed for Web application testing, and later extended to other testing fields. Can be used to test static and dynamic resources, such as static files, Java? Servlets, CGI scripts, Java objects, databases, FTP? Server, and so on. JMeter can be used to simulate the huge load on the server, network or object, test its strength, and analyze the overall performance under different stress categories.