tag:blogger.com,1999:blog-2286393505483348196.post6057330748403443446..comments2024-02-06T10:27:42.769+02:00Comments on JMeter Tips: Tip #11: Template for JMeter's recording proxyAnonymoushttp://www.blogger.com/profile/08772881122618557821noreply@blogger.comBlogger34125tag:blogger.com,1999:blog-2286393505483348196.post-67553424050131702202012-10-10T00:48:44.887+03:002012-10-10T00:48:44.887+03:00That's a difficult question without a specific...That's a difficult question without a specific data (test plan, response example, etc.)<br />But in general I think the first thing you should check are cookies (compare the cookies sent by your browser and JMeter).Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-50553010584830702432012-10-04T10:27:33.235+03:002012-10-04T10:27:33.235+03:00@victor can u please reply to my post posted on 29...@victor can u please reply to my post posted on 29th june,help needed.Neilhttps://www.blogger.com/profile/08664768509344243192noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-15702702084347768332012-10-03T11:58:09.267+03:002012-10-03T11:58:09.267+03:00Perfect. It also worked for me. thanksPerfect. It also worked for me. thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-22814622139483533992012-06-29T15:55:29.859+03:002012-06-29T15:55:29.859+03:00Scenario :
1 user will login
2 search
3 if r...Scenario :<br /><br /> 1 user will login<br /> 2 search <br /> 3 if result exits it will return that row else it will return message<br /><br /><br />when i record this scenario through proxy in the view result tree,request and response are showing correctly but when the same thing I run directly in the view result tree list for the same request sub request are showing and in the response tab wrong data are showing and for that reason assertions are not working during running the test case.<br /><br />This application is Ajax+json based, so can anyone suggest how to overcome this situation.Neilhttps://www.blogger.com/profile/08664768509344243192noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-9504226998689655122012-05-03T23:48:43.806+03:002012-05-03T23:48:43.806+03:00Did you try to add $ character to the end of your ...Did you try to add $ character to the end of your regular expressions?Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-22898388479404281802012-04-27T14:56:32.555+03:002012-04-27T14:56:32.555+03:00the url look like this /xxxx/css/core.css,/css/gri...the url look like this /xxxx/css/core.css,/css/grid.css,/css/common.css,/css/external/supernote.css and js url looks like this ./javascript/core/json.js,/javascript/core/window.js,/javascript/core/shortcut.jsprasanthhttps://www.blogger.com/profile/09094980674638136675noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-14291088749037342682012-04-27T14:44:17.560+03:002012-04-27T14:44:17.560+03:00hi Victor .....i have did what you said and in url...hi Victor .....i have did what you said and in url pattern to exclude i have given regular expression (.*\.js , .*\.css )after this also i seem this js and css are still recording ....... can u please tell me how to exclude this kind of url pattern ........... thanks for the previous reply ....................and thank in advance...........prasanthhttps://www.blogger.com/profile/09094980674638136675noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-73032124190218042192012-04-27T12:17:55.906+03:002012-04-27T12:17:55.906+03:00This comment has been removed by the author.prasanthhttps://www.blogger.com/profile/09094980674638136675noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-34410611014859547972012-04-26T23:48:18.293+03:002012-04-26T23:48:18.293+03:00There is Content-type filter on the Recording Prox...There is Content-type filter on the Recording Proxy settings panel. You can specify "(text/html|text/plain)" (excluding the quotes) in Include textbox to record only text and html.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-72704807952131375932012-04-26T23:35:35.062+03:002012-04-26T23:35:35.062+03:00I've just doublechecked in JMeter 2.6 - is wor...I've just doublechecked in JMeter 2.6 - is works as expected. Please provide me with the URL of the page where you are not able to filter gif's.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-36395228747035246562012-04-24T11:07:27.988+03:002012-04-24T11:07:27.988+03:00hi Victor..... i am using jmeter from past 3 month...hi Victor..... i am using jmeter from past 3 month . i am facing some problem while recording...i just want to exclude .css and .js and include only html and text file i have tried the things in u blog.....but it is not working for me ....... i am recording my script from this url http://xxx.xxxx.com.au/xxx/performAction? for this url how should i can include the text,html and exclude .css,.js ....................<br /><br />thanks in advance ..............prasanthhttps://www.blogger.com/profile/09094980674638136675noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-29907463885523758232012-04-23T16:21:45.737+03:002012-04-23T16:21:45.737+03:00Hi Victor,
I am facing the same problem as well an...Hi Victor,<br />I am facing the same problem as well and applied both solutions i.e. .*\.gif$ instead of .*\.gif and still these are not working, any other solution?<br /><br />Thanks in advanceAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-29317039128902598172012-04-17T23:09:41.636+03:002012-04-17T23:09:41.636+03:001) if your static files are really static (are not...1) if your static files are really static (are not returned by script) then you can (and probably must) exclude them.<br />2) IMHO you should not use this option except some special cases.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-90197246199704339712012-04-16T10:06:17.844+03:002012-04-16T10:06:17.844+03:00Hi Victor,
I am just confused whether to exclue g...Hi Victor,<br /><br />I am just confused whether to exclue gif, bmp, js etc. The site that I am going to record is a site where we search for products(displayed as images), then drag and drop these images to a empty area(board) and save the board.<br /><br />This is the first time I am using Jmeter, should i:<br />1> exclude all static content like .images, .gif. .js, .css<br />2) should I use 'Retrieve all embedded resources option' incase above step should be done. <br /><br /><br />Please advise what needs to be done in order to get correct response time.<br /><br />Thanks & Regards,<br />JacksonJackhttps://www.blogger.com/profile/12209600010658337818noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-10812095280524469442012-04-11T12:34:41.502+03:002012-04-11T12:34:41.502+03:00Try .*\.gif$ instead of .*\.gifTry .*\.gif$ instead of .*\.gifAnonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-61518316104127390532012-04-10T10:06:44.709+03:002012-04-10T10:06:44.709+03:00Hi Victor,
I tried to exclude the image file whil...Hi Victor,<br /><br />I tried to exclude the image file while recording by adding .*\.gif to the url patterns to exclude, but i can still see that image appears in my recorded script...could you please inform me why??? what am i doing wrong?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-56766629943421626352012-04-05T22:31:50.655+03:002012-04-05T22:31:50.655+03:00The answer to your question is the material for th...The answer to your question is the material for the big article.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-61738211455502346512012-04-05T09:21:21.116+03:002012-04-05T09:21:21.116+03:00Hi Victor.
I am new to this JMeter. Can you give ...Hi Victor.<br /><br />I am new to this JMeter. Can you give me the detail explanation about graph result. i am not able to analysis the graph result. how can i analys and get conclude from the graph which i got.. <br /><br />Please explin anyone. Thanks in advance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-78852976236682928392012-04-03T21:54:27.693+03:002012-04-03T21:54:27.693+03:00Victor, in your case JMeter will request css/image...Victor, in your case JMeter will request css/images/etc. files only when you check "Retrieve All Embedded Resources from HTML Files" option in HTTP Request settings. Anyways you can monitor what's exactly requested using "View Results Tree" listener. Just add it to the Thread Group you want to monitor and and start the test.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-71932318038430134762012-04-02T15:46:30.299+03:002012-04-02T15:46:30.299+03:00I have a question about the exclusion filter of th...I have a question about the exclusion filter of the static HTTP requests such as .css and .png<br /><br />Example: I want to test the performance of the homepage of a site; www.example.com/index.html This site has a css file: www.example.com/styles.css and some image: www.example.com/image.png When recording with the proxy, these files are not recorded as seperate requests if I add those URL patterns to exclude like in your example. But are these files received when I run the final test plan? If the css is a very large file, this will affect performance of that page.Victorhttps://www.blogger.com/profile/05337008650969374309noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-91954204654870966252011-11-22T22:34:29.809+02:002011-11-22T22:34:29.809+02:00Jonathan,
Exclusion/inclusion filters (in recordin...Jonathan,<br />Exclusion/inclusion filters (in recording proxy) work only during test plan writing. If you turn on "Retrieve All Embedded Resources from HTML Files" option you need to use match filters in HTTP samples.<br /><br />I prefer not to use "Retrieve All Embedded Resources from HTML Files" option. Instead of this I add all static HTTP samples during the test writing and exclusion/inclusion filters can help me. But in most cases I do not add static HTTP samples to the test plan at all.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-65383950787211243052011-11-20T06:51:31.459+02:002011-11-20T06:51:31.459+02:00If that is the case is it expected behavior to get...If that is the case is it expected behavior to get requests for connect.facebook.net or doubleclick when we explicitly exclude these domains in the exlude filters? It only happens when I check the include the embedded resource checkbox.Jonathanhttps://www.blogger.com/profile/14035312858487570631noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-13322369005341937732011-11-20T00:54:06.604+02:002011-11-20T00:54:06.604+02:00Jonathan,
"Retrieve All Embedded Resources fr...Jonathan,<br />"Retrieve All Embedded Resources from HTML Files" option does not affect on include/exclude filters. It just turns on/off the corresponding option in recorded HTTP samples.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-61855668384824566772011-11-19T01:50:22.935+02:002011-11-19T01:50:22.935+02:00Thanks for your quick response! You are right, the...Thanks for your quick response! You are right, the regex was fine. The problem is with using the 'Retrieve All Embedded Resources from HTML Files' option on the proxy server. It doesn't seem to honor the include/exclude filters and will include requests from other domains. Have you ever noticed this behavior?Jonathanhttps://www.blogger.com/profile/14035312858487570631noreply@blogger.comtag:blogger.com,1999:blog-2286393505483348196.post-59331734416112568312011-11-18T22:55:46.126+02:002011-11-18T22:55:46.126+02:00Jonathan,
.*\.example\.com.* is the correct regexp...Jonathan,<br />.*\.example\.com.* is the correct regexp for you. I've just checked it in JMeter 2.5.1 and it worked well. If this will not work for you probably the problem is in another place.Anonymoushttps://www.blogger.com/profile/08772881122618557821noreply@blogger.com