Skip to main content
3 votes
Accepted

How to send double quotes in postman csv data file

This is interesting, Newman and the collection runner are behaving differently. I have raised a bug on postman for this : https://github.com/postmanlabs/postman-app-support/issues/8024#issue-...
PDHide's user avatar
  • 11.1k
3 votes
Accepted

How to compare two files without looking at the contents

You can generate the hash of the contents, and then compare the hashes. If the hashes are identical, the files are the same. In ruby it would look something like this. md5hashFile1 = Hash(file1) ...
fmorales's user avatar
  • 181
3 votes

How to compare two files without looking at the contents

How about hashing the contents and comparing the results? As other folks say this requires opening the files in some fashion. So if you aren't allowed to see content you might need to create this as ...
Michael Durrant's user avatar
3 votes

How to compare two files without looking at the contents

That depends on what you mean when you say "open" and what result you anticipate when you compare. You have to read both files in some way to compare them. File size won't give you reliable result. ...
Alexey R.'s user avatar
  • 11.6k
2 votes

How to assign CSV file without using ${__threadNum} in JMeter

You can use __counter() function just the same way you're using __threadNum() function. The __counter() function generates an incremented number each time it's being called. Another option is going ...
Dmitri T's user avatar
  • 13.5k
2 votes

Performance issue - Robot Framework vs Python

So my question is simple... why? Why so much difference between the keyword written in Robot Framework and the one written in Python? Because to my knowledge, Robot Framework is fully written in ...
Bryan Oakley's user avatar
2 votes
Accepted

JMeter Report Dashboard

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" ...
Dmitri T's user avatar
  • 13.5k
2 votes

JMETER: Getting timestamp error in log file when giving CSV filename in Summary Report

Normally .jtl results file should look like: timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,URL,Latency,IdleTime,...
Dmitri T's user avatar
  • 13.5k
2 votes
Accepted

How to perform HTTP PUT Request by reading values from CSV in JMeter?

JMeter's built-in CSV Data Set Config is reading lines from the CSV file sequentially so each user will get the next line on each iteration. If you need to read a random line (however I don't think it'...
Dmitri T's user avatar
  • 13.5k
2 votes
Accepted

JMeter - can multiple thread groups use different rows within the same input csv file?

If you want to go for the CSV file you can use the following __groovy() function: ${__groovy(new File('/path/to/your/file.csv').readLines().get(ctx.getThreadNum()),)} for 1st thread it will return ...
Dmitri T's user avatar
  • 13.5k
2 votes

Custom Framework for Writing a Test that Reads a CSV File into a HashMap

I think your biggest issue here, while not strictly test related, is your understanding of what the code you've written does (versus what it is supposed to do). What your code currently does If your ...
corsiKa's user avatar
  • 7,102
1 vote
Accepted

JMeter - csv data set with property as filename

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 ...
Dmitri T's user avatar
  • 13.5k
1 vote

How to perform HTTP PUT Request by reading values from CSV in JMeter?

I've managed to find a solution with my problem -> I made a mistake by: 1) Creating CSV file in gEdit (Linuxs' equivalent of Windows Notepad) instead of using LibreOffice Calc where work is done in ...
NikolaS's user avatar
  • 143
1 vote

Add extra columns in the existing csv using jmeter

You can use bean shell scripts to execute code that can manipulate CSV files. This question has an example how to change data in a CSV-file. You should be able to adapt it to adding data aswell. ...
Niels van Reijmersdal's user avatar
1 vote

Selenium/Java reading CSV file using open csv

You can use Apache's Common CSV library: The method getHeaderMap retrieves the header names. Maven link: https://mvnrepository.com/artifact/org.apache.commons/commons-csv/1.5
João Farias's user avatar
  • 10.9k
1 vote

JMeter looping through CSV

You may use a Counter. Set the upper limit to 10 and use the variable i inside the ${} in each request for entering those values from the CSV. For each request, the counter will increment and take ...
Rishi's user avatar
  • 885
1 vote

JMeter looping through CSV

You can do it using Loop Controller and CSV Data Set Config. Firstly, you need to define paramaters in CSV Data Set Config to extract information from your CSV file. You can reuse those paramaters in ...
cell-in's user avatar
  • 191
1 vote

Selenium downloads tmp file instead of CSV file

You will need to consider setting the Firefox profile with expected mime type for the content to be download. BrowserOption with Name = "browser.helperApps.neverAsk.saveToDisk" Value = "text/...
Anand's user avatar
  • 74
1 vote

Selenium IDE data-driven storing special characters from csv file

The � that you see in your CSV file is due to you saving the file in one encoding and reading it in another. Always read/write the files in the correct encoding. You can decide on a particular ...
Chaitanya's user avatar
1 vote

JMeter: Write data in CSV file as rows and columns

Follow this method to write data in rows and columns: Create a notepad file out of the dat you want to pass in csv format, in this way - Name, Requests, Errors, trnxs AB,CD,EF,GH (No space ...
Goodguy Charlie's user avatar
1 vote
Accepted

Jmeter - Variables from input file to output file

You need to add some extra configuration so Flexible File Writer could save your planNum variable. Add the next line to user.properties file (it is located in JMeter's "bin" folder) ...
Dmitri T's user avatar
  • 13.5k

Only top scored, non community-wiki answers of a minimum length are eligible