New answers tagged

2

The explanation is at JMeter project main page: JMeter is not a browser JMeter is not a browser. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in ...


0

I recommend that you avoid or heavily modify the recorded script. It will do things like identify an element by body table tr tr tr tr td td td div.product_name (css) or body//table/tr/tr/tr/tr/td/td/td/div[@class='product_name'] (css) but neither of these is robust. You should be looking to use selectors such as div.product_name The problem isn't ...


0

You cannot select text value using CSS so I would recommend going for XPath Extractor instead. The relevant XPath query will be something like: //span[text()='Test1']/@componentId Reference material: XPath Tutorial Using the XPath Extractor in JMeter


0

There is an option multi line mode which you can use to extract string from multiline. Reference :- http://jmeter.apache.org/usermanual/regular_expressions.html Extract :- The single-line (?s) and multi-line (?m) modifiers are normally placed at the start of the regex. Example:- Try single line mode for jmeter Extract "String" here Regular ...


0

This error is generally observed when JDBC driver is missing. No suitable driver found for jdbc:oracle:thin:@coredb-useast1c01-02.qa.ultradns.net:2115:CUE1C2Q Can you try placing driver jar in JMeter lib folder


0

It's fairly simple: Add JSON Path PostProcessor as a child of the request which returns above JSON Configure JSON Path PostProcessor as follows: Variable names: anything meaningful, i.e. token JSON Path Expressions: $..token Other fields may be left as they are Refer extracted value as ${token} where required References: JSONPath - XPath for JSON -...


0

That's a scenario that exists in most of the cases wherein you need to extract the authentication token post login. You should use the Regular Expression Extractor post-processor to extract the token, id or anything of this sort. Go to the Thread group and right click and then in the post-processor options you'll find the regular expression extractor option. ...


0

Disclaimer: I have been using TestingWhiz for automating RESTful API testing. Today, Automated testing is considered as one of the most trending methodology in the field of software testing. Automation testing results in better test coverage, faster test results, etc. which indirectly makes the overall testing process more efficient as well as effective. ...


0

It looks like jmeter-results-detail-report_21.xsl file does not exist any more, you either need to copy it from JMeter 2.13 bundle (lives in "extras" folder) or update your .xsl file(s) to use jmeter-results-detail-report.xsl instead. Just in case see Visualizing JMeter .jtl Files Viewed as An .xsl Stylesheet article for details.


0

Since you are testing the REST API through mobile device and as you mention performance testing is required too, the best way will be using SeeTest tools. It provides you great way for automating your testcases and manually testings. If you focus on mobile testing you dont need to worry about how the API works. The advantages in working with SeeTest tools ...


1

I believe the best option to start with is JMeter official User Manual.Given you read it end-to-end and execute mentioned examples to get understanding on how this or that test element works - you'll be good to go to start load testing using JMeter. More detailed information on each Test Element can be found at Component Reference page. Information ...


1

To change the title add the following line to user.properties file: jmeter.reportgenerator.report_title=Your desired title You cannot change the content as it is being generated from result files. You can tune the representation of the existing content again by manipulating JMeter Properties which names start with jmeter.reportgenerator. References: ...



Top 50 recent answers are included