-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Master Apache JMeter - From Load Testing to DevOps
By :
Now, let's start our navigation session.

Note that the default listening port of JMeter proxy server is 8888.
Note the first time you start the recorder, it takes more time as it generates a Certificate Authority that you can use to intercept HTTPS traffic.

From the browser, navigate to the website:
http://server:8080/examples/servlets/
In our case, it will be:
http://localhost:8080/examples/servlets/
Here is the first page:


Enter first and last name and click on Submit Query:

When the result appears, we can stop our navigation session:



This will allow us to change the URL and port of the tested site in only one location (HTTP Request Defaults) if necessary (for example, if the script was run on a development environment, and the final test will run on the pre-production environment):


The result of the renaming:


Field to Test: Text Response
Pattern Matching Rules: Substring (default)
Patterns to Test: Let's click on the Add button, then insert text contained in the answer:


In the end, we get this JMeter scenario tree:
Now our scenario is ready, let's proceed to the validation of our script.
Change the font size
Change margin width
Change background colour