There are several approaches; However, I was in situations where I had to roll back my own utilities to create a load.
As for your test script, it includes:
- sending a GET request to the input page http: // (checking only 200 response)
- sending a POST request to the http: // form submission page with pre-generated key / value pairs for text XXX and performing a regular expression check in the response
If your web page is not complex AJAX, there is no need to "simulate a button click" - this is what the POST request takes care of.
Given that your test consists of only a two-step process, there should be several automatic download packages that could do this.
I previously used httperf to load a large website: it can simulate a session consisting of several requests, and can simulate a large number of users (i.e. sessions) at the same time. For example, if your website generated a session cookie from the home page, you can make the first request, httperf will then use this cookie for subsequent requests until it completes the list of requests.
PP
source share