Vorac
Vorac

Reputation: 9114

Can jmeter cli tools record a test script?

I am new to jmeter. Creating a simple script seems easy via browser actions recording. Can that be done without launching the jmeter IDE?

Upvotes: 0

Views: 151

Answers (2)

Dmitri T
Dmitri T

Reputation: 168002

As per latest stable JMeter version 5.4.1 it's not possible to start HTTP(S) Test Script Recorder without starting JMeter GUI

If you cannot do this for any reason the options are in:

  1. Use JMeter Chrome Extension

  2. Use your browser developer tools to record your test request into a .HAR file, once done you can:

Upvotes: 1

Janesh Kodikara
Janesh Kodikara

Reputation: 1821

You need to start the JMeter proxy for recording the test and it is not possible to start the proxy through available options.

There is a number of ways available for building test plans including the HTTP(S) Test Script Recorder.

Ten different ways to build JMeter Test Plans

The recording feature can be used even for complex scripts. You will have to use/add JMeter components and configure them once the recording is done to achieve the desired user actions.

Upvotes: 0

Related Questions