New answers tagged

-1

But what if we maintain the data files in a github repository? how to distribute them all between all the server? does it needs to me manually uploaded, really?


0

According to JMeter Glossary: Latency. JMeter measures the latency from just before sending the request to just after the first response has been received. Thus the time includes all the processing needed to assemble the request as well as assembling the first part of the response, which in general will be longer than one byte. Protocol analysers (such ...


0

If you already have a .jtl result file you can do it like: jmeter -g /path/to/jtl/file -o /where/you/want/to/store/dashboard If you would like the dashboard to be generated after the test run, you can run JMeter in command-line non-GUI mode like: jmeter -n -t /path/to/testplan -l /path/to/result.jtl -e -o /path/to/dashboard/folder See Full list of ...


0

Disclaimer: I have been using TestingWhiz. Application Programming Interface(API) testing is one of the important type of software testing, which is a part of integration testing, which is mainly used to determine the expectations for reliability, functionality, performance, etc. Also, APIs now serve as the primary interface to application logic. ...


1

Here are the answers: In order to add a JMeter Variable to .jtl log file define sample_variables property like: Permanent way: add the next line to user.properties file (lives in JMeter's "bin" folder) sample_variables=yourVar JMeter restart will be required to pick the property up. On next execution you will see ${yourVar} value added as a separate ...


-1

Yes you are right, you can put the parameters in a file! Use the CSV Data Set Config element and put the variables comma separated. Now declare the variable names in the CSV Data Set Config element and use them in your HTTP Requests. You need to prepare data in a CSV file that you want to use.


1

HTTP Cookie Manager - represents browser cookies. You will need it to deal with cookie-based authentication and to mimic real user sessions starting from login so the whole business process will be performed by the same JMeter thread which represents virtual user which in their turn should be as close to real users as possible HTTP Cache Manager - required ...


0

Here is the problem: Field to check: Response Message Response Message for successful request will be just OK Change "Field to Check" to Body and it should start working as expected. References: Regular Expressions Using RegEx (Regular Expression Extractor) With JMeter Perl 5 Regex Cheat sheet


1

If by server performance you mean server's health and resource utilization, then, There is no built option for monitoring server health in JMeter. But, don't be disheartened, there is a plugin available for it. Name of the plugin is PerfMon Server Agent. You can download it from here. Documentation and tutorial for same are available here. To install the ...


2

It's easy to implement. Please see the How to Monitor Your Server Health & Performance During a JMeter Load Test, which will guide you step by step to measure the server-performance!!! Hope, this will help you!!


11

Well I don't think JMeter will help you do performance or load testing of the click action/event of a button. If the click of a button makes an HTTP request to the server, then you can most definitely do performance or load testing for that. How JMeter works is, it takes an HTTP request and throws the specified number of instances (threads/users) on the ...


11

Try to record your script with Blazemeter and run the test. See if you get same error. If not then compare the two scripts and check what went wrong with your script. Blazemeter is an extension of Google Chrome. You can create a free account and record your script and then export the JMX file. Use this file in Jmeter to run the test.


1

The Throughput: is the number of requests per unit of time (seconds, minutes, hours) that are sent to your server during the test. The Response time: is the elapsed time from the moment when a given request is sent to the server until the moment when the last bit of information has returned to the client. The throughput is the real load processed by your ...


0

This may have to do with the way your application is built. Apparently, your application doesn't throw an error (validation error) when the duplicate credentials are used to register. Ideally, there should be an error (4xx) in such cases. Just because your script got executed and there is all green in the View Results in Tree listener doesn't mean Users got ...


0

When you are doing a load test on an application, there is a lot that you have to take into consideration, CPU utilization over time with consistent load. RAM utilization over time with consistent load. Disk I/O utilization over time with consistent load. Network I/O utilization over time with consistent load. Not just the server's CPU and RAM but its ...


2

Actually that's all JMeter does - run a request and record response time (and some other metrics like start time, response code, whether request successful or not, etc.) Basically what any web-browser does is sending HTTP requests and displaying the response. JMeter can do the same as real browser do (apart from rendering and displaying responses) but all ...


2

Welcome to performance testing!! First, you have to be clear about that a specific action (like a button click) is a POST request. So, if you want to measure the Response time of that request, just add a HTTP sampler in your test script in which you will use Method: POST. You can send some parameters manually!!! You can make your script manually or either ...


0

I doubt regular expressions will help there, would rather suggest going for one of the following: CSS/Query Extractor XPath Extractor If you need assistance in creating a relevant CSS/Query or XPath expression - update your question with more lines so it would be possible to see DOM tree, preferably upload full page source code somewhere.


0

The only issue with your regex is that your regex contains special (meta) characters like '<', '/' etc. which are being used as expression without using the escapes character. Such characters must be escaped by preceding them with \ (backslash) in order to treat them as ordinary characters, else your regex will throw error and will not work. List of such ...



Top 50 recent answers are included