On 7 May 2015 at 07:24, Jesse Zhang <[email protected]> wrote:
> Hello everyone,
> There is an original http request such as "http://www.baidu.com/".I checked 
> the option of "retrieve all embedded resources from html files".Then I add a 
> View Results Tree to run the test.Comparing the results with those http 
> requests captured by a packetcapture tool,I find that the results are few 
> resources but not all.I dont konw what is the reaon causing that.I guess it 
> is because the browser excute javascript and then send some http requests 
> which cant be parsed from html.Is that right?
>

Most likely.
JMeter does not interpret the HTML fully, in particular it does not
process Javascript.

> How can i fix it?Do i need a JS interpreter into Jmeter(is this possible?) or 
> to excute JS like a browser in Jmeter?

You are welcome to try implementing Javascript in JMeter, but this is
likely to be somewhat tricky...

> Or is that some good idea else?

Use the Test Script Recorder:
http://jmeter.apache.org/usermanual/component_reference.html#HTTP%28S%29_Test_Script_Recorder

and then adjust the generated plan as needed.

> Thanks & Regards
> Jesse
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to