I am new to testing and using the jmeter for the first time. Using these steps I am trying to record the mobile device scripts in jmeter. I have done the following steps:
- Open JMeter and right-click the TestPlan>Add >Threads (Users)>Thread Group.
- Right-click the Thread group>Add>Logic Controller>Recording Controller.
- Right-click the Threads>Add>Listener>View Results Tree.
- Add test script recorder by selecting Add>Non-Test Elements>HTTP(S) Test Script Recorder option.
- Add ‘8080’ as Port value and click the Start button. This will start the JMeter proxy on localhost.
but when I am checking the server status on browsers (https://localhost:8080
), following error comes:
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: https://// at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:817) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:517) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:331) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1146) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:240)