From the course: Advanced JMeter

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Challenge: Record and replay a simple test script, and troubleshooting

Challenge: Record and replay a simple test script, and troubleshooting - Apache JMeter Tutorial

From the course: Advanced JMeter

Challenge: Record and replay a simple test script, and troubleshooting

All right, it is time to record your first real script. Now you've seen how the test script recorder works, and now I want you to actually capture your own workflow. This challenge is meant to be simple. You don't need to record a full end-to-end scenario, just a short sequence of actions so you can learn the recording flow. Start by opening up JMeter and launching the test script recorder. Make sure that the HTTP sampler and recording controller are ready. JMeter will route everything you capture into that controller. Next up, configure your browser to use JMeter as its own proxy. Set the host to localhost and the port to the value shown in the Test Script Recorder. Once the proxy is set, go ahead and start the Test Script Recorder in JMeter. Now, switch to your browser and perform a short workflow. For example, open a website, navigate to one or two pages, and then stop. Keep it simple on purpose. You can use the London Hotel website for this. Now, return to JMeter and stop the…

Contents