Recently, I encountered an issue when trying to run web app JMeter tests using the Firefox Driver in Jenkins. I was able to successfully execute the tests in non-GUI mode on the terminal of the Jenkins server. I could also run the tests successfully on th ...
I am trying to retrieve the names of requests and transactions from my results. My goal is to display the transaction name, request name, iteration count, and the user number passed in my code using the Selenium Webdriver Sampler. Can you please share some ...
Currently I am working with selenium and JMeter, and I have developed several groovy methods. However, a major obstacle I am encountering is the need to define these methods in each individual sampler. Is there a more efficient way to centrally store and ...
Click here for the image Issue with Method Invocation sendKeys: encountered at Line 31 of file inline evaluation. Error message: "ElementNotInteractableException: element not interactable." Seeking assistance from anyone familiar with this issue. ...
Operating System: Ubuntu 20.04.6 Java Version: openjdk 17.0.8.1 2023-08-24 JMeter Version: v 5.6.2 Selenium/WebDriver Support Version: 4.13.0.0 Groovy Script: import org.openqa.selenium.support.ui as ui; WDS.sampleResult.sampleStart() WDS.browser ...
I have the following JSON body. How can I extract the values of StudentId, TermID, and other fields? Here is the JSON body: [{"Key" : "Results", "ResultsCollection" : [{"Key" : "IS.S2.SES.FSA.LoadStudentProfile('51483081','HCOL','JC','0')", "Name" : "Josh ...
I have two separate GET APIs that return response codes containing an ID number and a corresponding title. For API_1, here are some sample responses (with 100 IDs): { "result": "OK", "obj": { "list" : [ { "id" : 9 ...
I am facing an issue where I need to send data in the request body from an external file within jmeter, but every time I attempt to do this, I receive an ERR in the response body. Below is my post method request body: ${__FileToString(/Users/public/${__eva ...
I am currently using Selenium WebDriver Plugin with JMeter within a Docker environment to perform tests on an external webpage using Selenium in Java. However, I encounter the following message when running the JMeter Script (.jmx): Only local connections ...
I'm currently using a JMeter script to open functional Firefox browsers, but I've encountered an issue where the browsers close once the script finishes running. Here is the code I am using: WDS.sampleResult.sampleStart() def display = WDS.vars.ge ...
What is the best way to conduct load testing with NodeJS and MongoDB using Jmeter? Our goal is to assess the performance of NodeJS and Mongo Db. ...
After running the Login sampler, I received the following result: [Login Sampler Result Data][1] In this output, I need to extract "access_token":"91kLM68tdMBoDFRURArvdmwYgWV9Nr2sHYDwivTM" and store the value "91kLM68tdMBoDFRURArvdmwYgWV9Nr2sHYDwivTM" ...
I am attempting to execute a WebDriver Sampler using the given code: var pkg = JavaImporter(org.openqa.selenium); //WebDriver classes var support_ui = JavaImporter(org.openqa.selenium.support.ui.WebDriverWait); //WebDriver classes var wait = new support_u ...
Can anyone assist me with extracting the latency and rendering time values of a web application using Webdriver sampler in jmeter? If possible, please provide some sample webdriver sampler codes to retrieve these values. Anticipated outcomes: 1) Obtain ...
Looking to extract the ID of an object from a JSON response using regular expressions. The JSON response contains an array of objects as shown below: ... { "Id":"01", "Subject":"Sub", .... "Status":"Completed" ... }, { "Id":"02", "Subject":"Sub", ...
In my current project, I am dealing with a page that contains several fields that need to be edited using WebSamplerDriver. The challenge I face is that the id values of these fields are not consistent and tend to change periodically. This makes it difficu ...
After creating a test case using Selenium WebDriver and JUnit, I found myself needing to test it for over 100 users. However, due to limitations with my memory, I am unable to open that many browsers at once. I attempted to use threads in the application, ...
Our team utilizes JMeter for running load tests and we are interested in exporting the data results, such as throughput, latency, and requests per second, to JSON format. Can you please provide guidance on how to accomplish this task, either by saving it ...
I encountered an error in my script. Could this indicate a missing jar file that needs to be included in the library, or is it something else? ...
I have been trying out new things lately, specifically focusing on selenium for the past 4 months. Can selenium be used for performance testing? If so, how can it be done? I would appreciate any information provided. ...
I am faced with a challenge where I have two APIs that contain the same content but have different URLs. My goal is to compare all the contents from both APIs using jmeter. So far, I have utilized the json extractor by setting the path as $..contentid and ...
const today = new Date(); const time = today.getTime(); pm.environment.set('time', time); let eventArray = []; for(let i = 1; i <= 50; i++) { let t = time + (i * 1000); eventArray.push({ "eid": i, "time": t }); } const data = ...
Currently, I am attempting to execute a test for 5 - 10 users using WebDriver Sampler within JMeter. I have successfully configured Chrome Driver and included the necessary WebDriver Sampler code. Interestingly, when running the test for only 1 user, every ...
Are there any tools available that can assist in creating automation scripts for WebDriver within JMeter? ...
After receiving a response, I noticed that the HTML body contains a hidden form along with an internal JavaScript function to submit the form (view snapshot here). Is there a method in JMeter to execute JavaScript code that directly submits a form? I am ...
Currently, I am utilizing the latest version of JMeter 3.3 to execute a Selenium WebDriver test. So far, everything appears to be in order. I have configured only one thread with a one-second ramp up and one loop count. However, once the WebDriver executi ...
Having trouble getting the JMeter - Selenium Webdriver sampler to run when executing a JMeter Test through a Jenkins job. Strange thing is, the Selenium Webdriver sampler runs perfectly when the test is executed directly from the JMeter instance. Does an ...
My current challenge involves finding the most effective way to monitor and analyze end-to-end performance trends between software releases. When I refer to "end to end," I am focusing on the complete experience for users accessing an application through a ...
After upgrading from selenium-server-standalone-2.53.0 to selenium-server-standalone-3.1.0 in the %Jmeter%lib folder, I encountered the following error: Response message: org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval Sourced fil ...
Recently, I was tasked with conducting a rapid load test on one of our innovative meteor-based node applications. Much to my surprise, the application does not utilize traditional HTTP/REST based communication but rather relies on the cutting-edge DDP pro ...
I am completely new to stress testing, just letting you know. A bit of background information about the project, not the question itself: I have a web app built in nextjs14. A client has requested that it be able to support 400-500 simultaneous users conn ...
Currently facing an issue with Jmeter. Our configuration involves WDS invoking the URL, passing credentials to thread groups, and then threads to the database. However, I now need to edit the WDS script for the new sprint release. The problem arises as I a ...
I encountered a code snippet in my HTML response that looks like this: 003cdiv idu003d"d1f15ddf10691ed7%2?604?-1form From this snippet, I managed to extract the ID value which is d1f15ddf10691ed7%2?604?-1 using the following regular expression 003 ...
I'm currently facing some confusion while using JMeter with Selenium. My scenario involves having two Webdriver Samplers for different pages and a JSR223 Sampler to set up data, such as vars.put("loanAmount", "50000"); and other variables. Interesti ...
My issue with passing the correct value from the JSON Extractor to the next call in my JMeter script may stem from an expression problem. https://i.stack.imgur.com/fFuw7.jpg https://i.stack.imgur.com/JlG6q.jpg This is how the Response JSON appears: {"u ...
Struggling with a task for the past 2 days that involves running a JUnit test on JMeter. Here's the code snippet: public class LoadTest5 extends TestCase { private WebDriver driver; public LoadTest5(){} public LoadTest5(String testName){ super( ...
Can a recorded JMeter script, used to test the load of multiple user actions, be integrated into a Selenium/JUnit test case? I want to run the Selenium/JUnit test case with Java and receive performance results in the JUnit report, but most resources only ...
To validate a web request, I must launch Jmeter and link it to an existing Google Chrome session. The necessary components have been included in Jmeter: jp@gc - Chrome Driver Config jp@gc - WebDriver Sampler However, I am stuck on finding the correct code ...