This is basically a proxy server that listens on a local port (8080 by default). Prepare the Recording Add Test Script Recorder Deviation (in milliseconds): the deviation of this interval.Constant Delay Offset (in milliseconds): the time between two requests.This will lead to a better approximation of a real users behavior. You might want to use a random timer to add some deviation to the interval. Without a timer, every response is immediately followed by the next request, something a real user is not able to do. In order to configure the request interval, you have to add a timer. Please note that there is a bug in JMeter 2.3.1 for clearing cookies for multiple runs / iterations please use either JMeter 2.3.2 or later see ). Add > Config Element > HTTP Cookie Manager.If cookies are not working every request will create a new HTTP session and the server will return an HTTP error code. The cookie manager is required to ensure the same HTTP session in each request. Add > Logic Controller > Recording Controller.The recording controller will contain the recorded requests Path: the base path of your application.Server Name or IP: the host name or IP address of the server you run the tests against.Add > Config Element > HTTP Request Data.Ramp-up Period (in second): the time it takes until the last session is started.Number of Threads (users): this is the number of sessions that will in run in parallel.Select Add > Threads (Users) > Thread Group from the context menu.The Thread Group will contain your recorded requests. There are two elements in the tree, called Test Plan and WorkBench. Download a recent version of JMeter and start it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |