Tag Info

New answers tagged

0

If you don't have JMeter startup script in your PATH - it is expected that Jenkins doesn't find it. Try providing the full path or something like /usr/local/bin/./jmeter By the way, Jenkins Performance Plugin page recommends launching JMeter via Maven Plugin or Ant task See 5 Ways To Launch a JMeter Test without Using the JMeter GUI guide for detailed ...


0

Do you have JMeter installed on a jenkins slave? If so, do you have it setup to use jmeter as a symlink. That's really all you need to do. What is the exact error you have? jmeter not found?


0

In majority of cases JMeter should print the relevant information into jmeter.log file. Try clean session: delete browser's cache, cookies, etc. You can try JMeter Chrome Extension instead of JMeter's proxy to see whether it resolves your issue


0

Which tools should I consider from JMeter and SOAPUI? (Costs are not an issue) Both Apache JMeter and SOAP UI are swell tools. Another tool to consider for automating REST API testing is Runscope. It's an API performance testing, monitoring and debugging tool that can test services from your local machine, all the way to monitoring them in production -- ...


0

and recommend any other good API test frameworks, unless retrofit already looks good. Runscope is an API testing and monitoring tool. You can build tests without coding (or you can code testing scripts if you like), and use that single test on your localdev, test against staging and even for monitoring production.


0

Yes, it is possible with JMeter without opening browser. You can pass the URL as a parameter using the CSV file. For this you need to use 'CSV Data Set Config'. After passing the URL from the CSV file, you can fill all the fields required for creating a team from the CSV too, this way you will have different data for different teams.


-1

I think, CSV just like username, password username1, password1 username2, password2 username3, password3 username4, password4 username5, password5


1

I hope you not using JMeter in GUI mode. If you do - please switch to command-line non-GUI mode as JMeter GUI is very resource intensive and may ruin your test. The same for the Listeners: if you have View Results Tree or View Results in Table listeners added and enabled - remove or disable them as they consume a lot of CPU and RAM. Follow ...


0

First of all I would start with creating a test "skeleton" - basically record your test scenario using JMeter's built-in HTTP(S) Test Script Recorder. Check out Apache JMeter proxy Step-by-step guide to get started. Once you have initial test script you can parametrize it, add external data sources, perform correlation if needed add virtual users, run the ...


0

In addition to the mentioned solution. I can tell you that such issues of opening, accessing files occurs when using Proxy server recording option using JMeter, especially when one is trying it on HTTPS. For such things I have always used BadBoy for recording and creating JMeter script. Download its free version and Navigate to your application using it, ...


1

Perhaps the easiest way to narrow down the problem is to divide the JMeter work between two machines. Install JMeter on a second machine and run both at the same time, but have each JMeter instance simulate half as many users. If that fails, the problem is probably on the server side; or if it succeeds, the problem is on the JMeter side. If the problem ...


0

... and recommend any other good API test frameworks Have a look at http://sqa.stackexchange.com/a/14308/13048


1

You should use the following components in JMeter for creating and running you script: Test Plan Thread Group HTTP Request Default Cookie Manager (if your application have any cookies or your script uses any kind of session) Cache Manager (for managing the caching, if there is any) Controllers (Simple or Recording or Transaction, depending upon your need) ...


1

It does. So do Network and Disk IO. If any of them exceeds threshold of 70-80% of maximum available capacity - it may have negative impact on your load test results. You should monitor load generator(s) health just like system under test health to make sure that things go as expected. Make sure that you following recommendations from JMeter Performance ...


1

There is a tool designed for APIs testing - SoapUI, you can try it out and see how it goes. In regards to JMeter - yes, it can be used for functional testing. If your concern is about test scripts readability and maintainability you can check out Taurus - new automated tests configuration and execution engine with clear syntax and very good reporting. You ...


1

As per the issue mentioned by you, it looks like problem described by JMeterSocketClosed . You should refer this link. Now for the second part: Does my CPU and RAM configuration affect my JMeter Performance test results and about the Heapsize. Yes, it impacts. Your system configuration too affects your JMeter script and its performance, as ...


0

Yes, there is a way possible to do this. You need to add a 'HTTP Request Default' configuration element from 'Configuration Elements' option i.e. Right click test plan and add this 'HTTP Request Default'. In this 'HTTP Request Default' there is an option Connect in 'Timeouts (milliseconds)', you can specify your connection timeout value in this field and ...


0

A little amendment to Dhiman's answer: Don't use View Results Tree and/or View Results in Table listeners for anything but tests development or debugging as they are very resource intensive. Don't use JMeter GUI for actual load test, use GUI only for tests development and troubleshooting as again GUI thread consumes a lot of resources and can ruin your ...


2

What questions should I ask the developers so that i can proceed with automating? It depends what kind of test you want to have, if it is only end2end testing then "Base URI" should be enough for you. If you need to test more than that (e.g Tests which need mocking), you may need to have access to the project code to add your test code there. For ...


2

If you have any SLA defined from the client side, then you should compare the Response Time to that SLA like your client says application should have 5 secs of Response time with 500 users, then if your application is not showing that behavior then you need performance tuning. If you don't have any SLA then you can use the general theory, that any response ...


3

Option 1: You can keep the user count as 1 and Loop count as 100 in your thread group. This way your script will be executed 100 times, without concurrency of users and one user at a time. you can use CSV file if you want to change the user login credentials and other data at each loop starting i.e. different data for different user. Option 2: Another ...


1

You need to use the Tree listener and/or Table Listener in JMeter, Sampler result tab of Tree listener provided the value of both "Latency Time" and "Load Time" (this image has been taken from google and just for reference, Tree listeners looks exactly same) This lisnter will provide the result of individual samples, i.e. you have to select the sample ...


1

JMeter result files are quite plain and some postprocessing is required to make them readable and understandable. Usually of interest are following metrics: Perceived system performance Perceived user experience System performance See Performance Metrics for Websites guide for above and more metrics highlighted and explained. Here are some approaches ...


3

You should show them a report in which you include Response Time (if there is any kind of SLA with client that each of the 13000 users will get a response in X seconds). If this doesn't matter in how much time users are getting response then leave this value. Based on the result of Response Time mark your test as Pass or Fail in your report. If your ...


2

It seems to be server issue, that it is not able to handle heavy load specified by you. But still there can be multiple reasons for your script not working with 3000 users and 60 Ramp up time. Your Ramp Up value is low then required, try same script with higher value of Ramp Up period. Ramp up value is a significant factor for controlling heavy loads using ...


0

Looks like you are hitting against the capabilities of the box you are running the suite on. This is a common problem using JMeter as its faiirly resource hungry. Try running it headless and if that increases your number slightly it may help you reach that elusive 3000. Below is a guide on ways to accomplich this; ...


0

Not knowing use case of your application is quite hard to tell exact ramp-up value, in my view virtual users arrival rate should be something like 25-50 users per second. In regards to JMeter side of things performance, first of all: Run your test in command-line non-GUI mode Disable all the Listeners (if any) Depending on your operating system, locate ...


2

See 13000 threads is a huge amount, which can cause your machine to get hang and other issues like "Memory Out of Index", High CPU usage etc. and that depends upon your script too i.e. How many requests are there in your script? -- Generally REST requests are not that heavy and I am considering that you have only 1 REST request in your script. How many ...


0

Alternatively, record the test without using Proxy. SmartMeter Recorder uses Chrome plugin for test recording thus avoiding any difficulties with setting up the proxy server.


0

Given you're testing REST API I would suggest using combination of CSV Data Set config (to read expected results from external CSV file) with JSON Path Assertion to validate the response and fail the test if there is a mismatch between expected and actual result.


0

First way is to use the Assertions in your script for validating the output data. In your case I will suggest you to use the Response Assertion and pass the matching criteria from a CSV file, using 'CSV Data Set Config' configuration element. For example, you will mention ${firstName} in the response assertion, and the CSV file should be containing the ...


0

Please check this attached image. I making some mistake to get the output. Can you explain me how to add RegEx in my TestPlan & please point out where have i went wrong. Thanks


0

See, JMeter is a performance testing which generates load over the application and thus provides the Response Time. Like any other Load testing tool, it too never launches browser physically, it will just place calls to the application server based on the HTTP requests which are there in your script. You will not see 1 or 10 browser instances running, only ...


0

You are not using the Include Controller in a right way, it is required to use Test Fragment in your Included test plan which is missing in the example provided by you. Without the use of Test Fragment your Include Controller will not get executed. Please refer to the mentioned links for Include Controller and Test Fragment. ...



Top 50 recent answers are included