Re: the option of Retrieve All embedded resources from html file doesnt load ALL resourses
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 ynz...@yahoo.com.invalid 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 rwils...@gmail.com 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:ynz...@yahoo.com.INVALID] 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 rwils...@gmail.com 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:ynz...@yahoo.com.INVALID] Sent: Thursday, May 7, 2015 1:25 AM To: user@jmeter.apache.org 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: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
Re: the option of Retrieve All embedded resources from html file doesnt load ALL resourses
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 rwils...@gmail.com 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:ynz...@yahoo.com.INVALID] 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 rwils...@gmail.com 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:ynz...@yahoo.com.INVALID] Sent: Thursday, May 7, 2015 1:25 AM To: user@jmeter.apache.org 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: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
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 rwils...@gmail.com 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:ynz...@yahoo.com.INVALID] Sent: Thursday, May 7, 2015 1:25 AM To: user@jmeter.apache.org 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: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
RE: the option of Retrieve All embedded resources from html file doesnt load ALL resourses
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:ynz...@yahoo.com.INVALID] 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 rwils...@gmail.com 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:ynz...@yahoo.com.INVALID] Sent: Thursday, May 7, 2015 1:25 AM To: user@jmeter.apache.org 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: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
Re: the option of Retrieve All embedded resources from html file doesnt load ALL resourses
Hi, Jmeter can record only few types of embedded resources and not ALL. According to the documentation of JMeter http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request. Thanks and Regards Hemant 9013982184 On Thu, May 7, 2015 at 11:54 AM, Jesse Zhang ynz...@yahoo.com.invalid 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?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: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
RE: the option of Retrieve All embedded resources from html file doesnt load ALL resourses
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:ynz...@yahoo.com.INVALID] Sent: Thursday, May 7, 2015 1:25 AM To: user@jmeter.apache.org 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: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
Re: the option of Retrieve All embedded resources from html file doesnt load ALL resourses
On 7 May 2015 at 07:24, Jesse Zhang ynz...@yahoo.com.invalid 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: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org