Visit http://www.baidu.com/ in chrome with network panel enabled. Right mouse click -> Copy all as HAR. Visit https://flood.io/har2jmx Paste contents, click convert
You end up with a JMeter test plan with same number of requests as chrome. https://flood.io/blog/16-convert-har-files-to-jmeter-test-plans Tim Koopmans [image: Flood IO Pty Ltd] <https://flood.io> On Mon, May 11, 2015 at 12:58 PM, Jesse Zhang <[email protected]> wrote: > The scripts recorded by the chrome extension blazemeter are simpler than > what recorded by Jmeter.Any good ideas to make Jmeter can get the urls > generated dynamically?Any help on this will be appreciated. > > > > > On Friday, May 8, 2015 11:22 PM, Robin D. Wilson <[email protected]> > wrote: > > > I guess I don't understand what you mean by 'clutter', but I'm glad you > found something that worked for you. > > > -- > Robin D. Wilson > Sr. Director of Web/Java Engineering > KingsIsle Entertainment, Inc. > VOICE: 512-777-1861 > www.KingsIsle.com > > -----Original Message----- > From: Jesse Zhang [mailto:[email protected]] > Sent: Friday, May 08, 2015 2:13 AM > To: JMeter Users List > Subject: Re: the option of "Retrieve All embedded resources from html > file" doesnt load ALL resourses > > The scripts recordded by Test Script Recorder is clutter.There is a chrome > extension developed by Blazemeter which can record simple scripts.I > exported the scripts to local .jmx file,and then used Jmeter to run the > test.But the http requests are not all.So i want to find a solution to the > problem. > > > On Thursday, May 7, 2015 8:25 PM, Robin D. Wilson <[email protected]> > wrote: > > > JMeter does not execute the Javascript, or interpret CSS - both of which > may add files to your download. > > However, you can record what gets downloaded (using the HTTP proxy > recorder) and just replay that if you like. > > -- > Robin D.Wilson > > > -----Original Message----- > From: Jesse Zhang [mailto:[email protected]] > Sent: Thursday, May 7, 2015 1:25 AM > To: [email protected] > Subject: the option of "Retrieve All embedded resources from html file" > doesnt load ALL resourses > > 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?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?Or is that some good idea else? > 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] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > >
