New answers tagged

0

JMeter automatically treats HTTP status codes below 400 as successful so if your application responds with "invalid credentials" message but having status code of 200 - JMeter will mark the request as "passed". If you want JMeter to conditionally consider request as failed if i.e. "Welcome" text is missing or login form is still ...


0

Check out Apptim. It was designed specifically for client side performance of native apps and can work for hybrid as well. This is a good article that explains how to run a test with Apptim and can give you an idea if it is the right fit: https://blog.apptim.com/mobile-performance-testing/


1

You cannot, as per Execution Order chapter of JMeter documentation Configuration Elements are executed before anything else so being a configuration element CSV Data Set Config is being run before your code which modifies its path. The only way to use dynamic paths to CSV files is using __CSVRead() function, check out How to Pick Different CSV Files at ...


0

JMeter is a tool to manage interactions with services, e.g. manage HTTP requests. It does not affect how your services will deal with the interactions. So, to answer if your interactions will change the state of a DB, then: Not necessarily. It will depend on what service you are hitting. You may have a service that is running locally configured to use a ...


0

Yes you can, JMeter provides the following test elements for working with databases: JDBC Connection Configuration - where you can put your database URL, credentials, etc. JDBC Request sampler - where you can place your SQL queries to verify presence of certain entities in the database See How to Retrieve Database Data for API Testing with JMeter for ...


1

Both are wrong, you should be using the following syntax: $._data[?(@.label == '${IssueID}' )].id You basically need to replace the hard-coded value of IssueID with the equivalent JMeter Variable and the substitution will happen in the runtime. You can observe JMeter Variables along with their respective values using Debug Sampler and View Results Tree ...


2

Given you will be using Taurus to run existing .jmx files you can also specify existing JMeter installation with all .properties files you want to use, they will be picked up. If you want to just pass some properties to JMeter script from Taurus you can either use properties section in YAML or pass them via -o command line argument According to Pass/Fail ...


2

If you need to unzip some files and don't want JMeter to measure this time there are multiple workarounds for this: Use setUp Thread Group to prepare test data Use i.e. PreProcessors to prepare test data, JMeter doesn't include the time taken by Pre/Post Processors, Timers and Assertions into the sample result unless you have Transaction Controller ...


0

Out of the box there is no such option (apart from View Results Tree and View Results in Table listeners) If you want to make run progress information available for external users - consider going for Backend Listener, there are some metrics which you may find useful in particular: <rootMetricsPrefix><samplerName>.ok.count - number of successful ...


2

I can see 2 iframes in your picture, one is visible and another one is not visible (the highlighted one). So you need to: Locate the iframe element which display property is not none using normal WebDriver.findElement() function which returns a WebElement Switch to it using the WebElement from the previous step Example code: var iframe = WDS.browser....


Top 50 recent answers are included