RE: how to extract the true page name after redirect
Nevermind, the problem is not the Regular Expression Extractor. That actually works fine and will follow the redirect to get the page name. The problem is with the graph results component. When it create the output csv file, it doesn't follow the redirect url. Thanks, James Liang -Original Message- From: James Liang [mailto:jli...@andera.com] Sent: Tuesday, January 21, 2014 7:45 PM To: JMeter Users List Subject: how to extract the true page name after redirect Hi, I am trying to extract the page name after a url redirect. For example, suppose get http://foo.com/login auto redirects to http://foo.com/main I'd like to extract the page name main instead of login Note that my jmeter login sample is set to Follow Redirects I used the Regular Expression Extractor to extract the name and that worked great for for pages that don't redirectly. However, it doesn't get run for the redirected page at all. Also note that what I really wanted is to get the page name for used with Save Responses to a file component. This way, I get a copy of the html page with the name that matches the url. Any ideas? Thanks, James Liang - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
Re: How to record Registration page and replay using HTTP Request Sampler and also parameterise some fields in the forms?
Well you can record the registeration steps using Jmeter Test Script Recorder(Version 2.10) or jmeter proxy server in earlier versions. Now you need to identify in the recorded requests the parameters you need to pass for example username and pasword. Add a CSV data config element in your thread group and add user,pass in it against variables. Now make a csv file and add the username and passwords in it. Put the full path of the csv in the csv data config element. Now to use these values you need to identify the parameters in your request and put the variables you defined in the CSV data config element like this ${user} against username and ${pass} against password. Each thread would read one line in your CSV. You also would need to add a HTTP cookie manager in your thread group to manage cookies for your virtual users. If your having trouble recording, the steps are as follows Add HTTPS test recorder under workbench and set target controller to thread group after inserting a thread group under your test plan. Set the proxy in your browser to localhost and port 8080 Now Press Start button on your Test recorder. Perform actions on your browser and you will see the requests getting recorded. These are the parameters [image: Inline image 3] The path for the csv file and the variables [image: Inline image 2] The CSV files [image: Inline image 4] I hope this helps On Wed, Jan 22, 2014 at 6:17 AM, Jayesh Guru jayeshgur...@gmail.com wrote: I have to record a Registration Page and parameterise some of the fields so that it can take unique value each iteration. I tried this couple of times with HTTP request recording but could not get any luck. Could anyone please guide me in this as i need to load test this registration site(there are 4-5 pages in this)? *Thanks * *Jayesh Guru*
is there a way to summarize stats by url pattern?
Hi all, Some of the urls in my jmeter test samples only varies in the query string. Others are completely different url. I'd like to get statistical summary grouped by a url pattern. for example: http://test.com/hello?a=5 http://test.com/hello?a=6 http://test.com/welcome I'd like to see a summary of average response and throughput that combines the 2 http://test.com/hello*. The http://test.com/welcom has its separate average response and throughput. Is there a way to do this in jmeter? Thanks, James Liang
how-to or feature request for loaded results into a listener
I'm thinking of adding a feature request, but wanted to first make sure I'm not missing something. I currently use JMeter along with JMeter-Plugins and use graphing listeners from both for analyzing results. When the test is actually running, these listeners are disabled, but then after the test I can load the results from file to get the graphs. I would like to compare results from two different runs and was thinking of having a JMeter script that only has the listeners (including JMeter-Plugins' Composite Graph), duplicated twice for each run. Once results were loaded from file, I could easily compare the two runs and even create custom overlay views using the Composite Graph. The problem is that I have to manually click the BROWSE button for each listener to load the exact same results file. It works, but it's a hassle. It would be nice if all listeners could be triggered to reload results from their indicated source files from a single toolbar button or something like that. Is there currently a way to achieve this? Does this seem like a good feature request? Thanks, Glenn
Re: is there a way to summarize stats by url pattern?
to add the sampler label itself can be dynamic (so you could for e.g. execute a function that strips out query string assuming you were reading all URLs from a file) On Wed, Jan 22, 2014 at 2:55 PM, sebb seb...@gmail.com wrote: On 22 January 2014 19:12, James Liang jli...@andera.com wrote: Hi all, Some of the urls in my jmeter test samples only varies in the query string. Others are completely different url. I'd like to get statistical summary grouped by a url pattern. for example: http://test.com/hello?a=5 http://test.com/hello?a=6 http://test.com/welcome I'd like to see a summary of average response and throughput that combines the 2 http://test.com/hello*. The http://test.com/welcom has its separate average response and throughput. Is there a way to do this in jmeter? The simplest way is to change the sampler labels in the test plan. Thanks, James Liang - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
In the non-gui mode 'csv' log file, how would I calculate throughput?
I'm using the non-gui mode for some testing, and I'd like to attempt to replicate closely what I get on the gui-mode summary report. The only thing I'm missing is the 'throughput' values... From the standard data available in the non-gui log file, can someone tell me how to calculate throughput that is similar to the gui-mode summary report's throughput numbers? (BTW, 'iterations/duration' doesn't work at all...) -- Robin D. Wilson Sr. Director of Web Development KingsIsle Entertainment, Inc. VOICE: 512-777-1861 http://www.kingsisle.com - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
How to ensure the values i submitted with the request have saved in the required db table using jmeter?
I want to check if 1000 concurrent users log in a website within a specified period of time and register and provide payment details then for every User i wanna check the details submitted in the database are accurate for each user. Is it possible that i can add a JDBC request which can provide me the details for every user immediately after the registeration for the user is complete. I know this would increase my response time but that is not an issue for us. I need to do a functional test where if 1000 users register than for all these users accurate details get stored. the criteria is to ensure that if concurrent registerations take place the data for users is accurate and information does not get mixed up for the users if they access the site concurrently under load. Is there any other better approach of doing this with jmeter? Thanks
Re: How to ensure the values i submitted with the request have saved in the required db table using jmeter?
After the execution is done, you can query the details from the database, instead of adding JDBC step in your test plan. I hope each payment will have an unique id. Before run your test note down the latest ID and its timestamp. After the run again note down the values. So that you can find the difference. I feel this is better approach. Thanks! NaveenKumar N Excellent Jmeter Training. Register www.QAInsights.com/services On Thu, Jan 23, 2014 at 11:27 AM, charan sethi charan.set...@gmail.comwrote: I want to check if 1000 concurrent users log in a website within a specified period of time and register and provide payment details then for every User i wanna check the details submitted in the database are accurate for each user. Is it possible that i can add a JDBC request which can provide me the details for every user immediately after the registeration for the user is complete. I know this would increase my response time but that is not an issue for us. I need to do a functional test where if 1000 users register than for all these users accurate details get stored. the criteria is to ensure that if concurrent registerations take place the data for users is accurate and information does not get mixed up for the users if they access the site concurrently under load. Is there any other better approach of doing this with jmeter? Thanks -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com
Re: How to ensure the values i submitted with the request have saved in the required db table using jmeter?
I hope you have access to DB. Query it from DB. Do not use the Jmeter for validation. On Thu, Jan 23, 2014 at 12:07 PM, charan sethi charan.set...@gmail.comwrote: But i need to do this for concurrent 1000 users. How do i achieve this approach. How to extract the unique ID and Timestamp when i run 1000 users with a ramp up of 10 minutes. Can you please elaborate a little. On Thu, Jan 23, 2014 at 11:51 AM, NaveenKumar Namachivayam catchnaveen.psgt...@gmail.com wrote: After the execution is done, you can query the details from the database, instead of adding JDBC step in your test plan. I hope each payment will have an unique id. Before run your test note down the latest ID and its timestamp. After the run again note down the values. So that you can find the difference. I feel this is better approach. Thanks! NaveenKumar N Excellent Jmeter Training. Register www.QAInsights.com/services On Thu, Jan 23, 2014 at 11:27 AM, charan sethi charan.set...@gmail.com wrote: I want to check if 1000 concurrent users log in a website within a specified period of time and register and provide payment details then for every User i wanna check the details submitted in the database are accurate for each user. Is it possible that i can add a JDBC request which can provide me the details for every user immediately after the registeration for the user is complete. I know this would increase my response time but that is not an issue for us. I need to do a functional test where if 1000 users register than for all these users accurate details get stored. the criteria is to ensure that if concurrent registerations take place the data for users is accurate and information does not get mixed up for the users if they access the site concurrently under load. Is there any other better approach of doing this with jmeter? Thanks -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com
Re: How to ensure the values i submitted with the request have saved in the required db table using jmeter?
I wanna make sure that the test continues only if accurate details per user are submitted. Querying the database and comparing is a solution but i would prefer automating this instead. On Thu, Jan 23, 2014 at 12:15 PM, NaveenKumar Namachivayam catchnaveen.psgt...@gmail.com wrote: I hope you have access to DB. Query it from DB. Do not use the Jmeter for validation. On Thu, Jan 23, 2014 at 12:07 PM, charan sethi charan.set...@gmail.com wrote: But i need to do this for concurrent 1000 users. How do i achieve this approach. How to extract the unique ID and Timestamp when i run 1000 users with a ramp up of 10 minutes. Can you please elaborate a little. On Thu, Jan 23, 2014 at 11:51 AM, NaveenKumar Namachivayam catchnaveen.psgt...@gmail.com wrote: After the execution is done, you can query the details from the database, instead of adding JDBC step in your test plan. I hope each payment will have an unique id. Before run your test note down the latest ID and its timestamp. After the run again note down the values. So that you can find the difference. I feel this is better approach. Thanks! NaveenKumar N Excellent Jmeter Training. Register www.QAInsights.com/services On Thu, Jan 23, 2014 at 11:27 AM, charan sethi charan.set...@gmail.com wrote: I want to check if 1000 concurrent users log in a website within a specified period of time and register and provide payment details then for every User i wanna check the details submitted in the database are accurate for each user. Is it possible that i can add a JDBC request which can provide me the details for every user immediately after the registeration for the user is complete. I know this would increase my response time but that is not an issue for us. I need to do a functional test where if 1000 users register than for all these users accurate details get stored. the criteria is to ensure that if concurrent registerations take place the data for users is accurate and information does not get mixed up for the users if they access the site concurrently under load. Is there any other better approach of doing this with jmeter? Thanks -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com
Re: How to ensure the values i submitted with the request have saved in the required db table using jmeter?
i want to fully achieve this through jmeter. For every user registration that takes place and the details saved in the database can be verified based on the registration request. So how can i achieve this in the most optimized manner. Thank you Naveen for your quick reply but i'd really appreciate if you can help me achieve this with the help of jmeter. On Thu, Jan 23, 2014 at 12:27 PM, charan sethi charan.set...@gmail.comwrote: I wanna make sure that the test continues only if accurate details per user are submitted. Querying the database and comparing is a solution but i would prefer automating this instead. On Thu, Jan 23, 2014 at 12:15 PM, NaveenKumar Namachivayam catchnaveen.psgt...@gmail.com wrote: I hope you have access to DB. Query it from DB. Do not use the Jmeter for validation. On Thu, Jan 23, 2014 at 12:07 PM, charan sethi charan.set...@gmail.com wrote: But i need to do this for concurrent 1000 users. How do i achieve this approach. How to extract the unique ID and Timestamp when i run 1000 users with a ramp up of 10 minutes. Can you please elaborate a little. On Thu, Jan 23, 2014 at 11:51 AM, NaveenKumar Namachivayam catchnaveen.psgt...@gmail.com wrote: After the execution is done, you can query the details from the database, instead of adding JDBC step in your test plan. I hope each payment will have an unique id. Before run your test note down the latest ID and its timestamp. After the run again note down the values. So that you can find the difference. I feel this is better approach. Thanks! NaveenKumar N Excellent Jmeter Training. Register www.QAInsights.com/services On Thu, Jan 23, 2014 at 11:27 AM, charan sethi charan.set...@gmail.com wrote: I want to check if 1000 concurrent users log in a website within a specified period of time and register and provide payment details then for every User i wanna check the details submitted in the database are accurate for each user. Is it possible that i can add a JDBC request which can provide me the details for every user immediately after the registeration for the user is complete. I know this would increase my response time but that is not an issue for us. I need to do a functional test where if 1000 users register than for all these users accurate details get stored. the criteria is to ensure that if concurrent registerations take place the data for users is accurate and information does not get mixed up for the users if they access the site concurrently under load. Is there any other better approach of doing this with jmeter? Thanks -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com