Does anyone knoe how to save specific Jmeter Variables into a csv file? I have already tried this topic with no succes: Write extracted data to a file using jmeter and this code:  FileWriter fstream = new FileWriter("result.csv",true); Buffer...
// I had previously used a CSS/JQuery extractor to get a URL from a page and add it to JMeter vars - accessing it here var pageURL = "${valueFromJmeterVars}";  // navigate to that url WDS.browser.get(pageURL);   // selecting an element var bu...
I am working with dates that are on an API response. Date coming from API are in EST. I need to convert the EST (technically EDT) date to UTC and then compare with dates from another API response whose values are in UTC format  I am trying to do this...
In HTTP Sampler,response I have a javascript variable  int a=1;   I want to get the value of this 'a' in BeanShell Post Processor, How do I get it in JMeter?...
I have a BSF post-processor added to a sampler. The script in the post-processor is:  var array = JSON.parse(prev.getResponseDataAsString());  array.forEach(function(object) {   OUT.println("patient_id: "+object.patientId);   OUT.println("...
In one of the http request we have to send encrypted value.  The encryption is done by the CryptoJs javascript libraries and Algorithm used is AES256.  I am new to Jmeter can anyone let me know how to import the CryptoJs libraries and how to use the...
Using jmeter 3.3 I am sending some request to my website an on assertion KO I am sending an email.  For this I added an IF controller with this condition:   !${JMeterThread.last_sample_ok}   inside my if I triggers an email using SMTP Sampler.  Pleas...
What I have to do: 1. Extract all customer ids from previous response. 2. Shuffle all ids. 3. Pass all ids in one request. (like : custPref - 9768,7651,3215,....)  I took all customer ids in one variable (custID) using regular expression (with set ma...
I have this simple object:  var apple = {     type: "macintosh",     color: "red",     getInfo: function(int){         return "test" + int;     } }   In Jmeter I want to put this object into a global variable that allows me to...
I've a scenario like   user logs in ( /login)   navigate to the reservations page to get all the reservation id (/reservations)    Through json path extractor it gets first reservation id from the JSON.($..reservationLists..id[0], reservationid)...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.