user3296812
user3296812

Reputation: 9

Jmeter:I am getting error while recording script

I am getting this error while i am trying to record the script through browser,anyone give me a solution... "Could not create script recording proxy-port in use.Choose another port.:Already used in JVM_Bind"

Upvotes: 0

Views: 6636

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

It looks like that you have something else listening port 8080 which is default for JMeter's HTTP(S) Test Script Recorder

You can check what application is bound to that port via netstat or lsof commands.

  • For Windows - netstat -nao | Find "8080"
  • For Linux - netstat -naop | grep -w 8080
  • For Mac - lsof -n -i4TCP:8080 | grep LISTEN

and stop it.

Alternatively:

  1. Change "Port" under "Global Settings" of your HTTP(S) Test Script Recorder to be something different. Don't forget to adjust your browser proxy settings accordingly.
  2. Use Google Chrome Extension which record JMeter test scripts right from browser and capable of exporting them to JMeter .jmx files. In that case you won't have to worry about proxies, ports, certificates, cookies, etc.

Upvotes: 3

Related Questions