Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 6225

Comma-Separated Values or Character-Separated Values (CSV) is a standard "flat file database" format for storing tabular data in plain text, consisting of an optional header row that lists the table fields delimited by commas or tabs or other delimiter character, followed by one or more rows (newline separated) representing the table records as delimited lists of the values. Newlines and separator characters can appear within (quoted) fields.

0 votes

Automating file comparison (different formats like csv, text etc)

I believe you can use Apache JMeter for it. JMeter can read the files with its HTTP Request Sampler (just specify file in "Protocol" input and full path to your file in Path input. JMeter can apply …
Dmitri T's user avatar
  • 13.6k
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.6k
0 votes

Are there any tools to test whether the response code is not equal to 404 or etc by reading ...

I think that you should be able to use Apache JMeter for it. JMeter acts on protocol level so in any case it will be faster than using a browser. Besides JMeter is designed for load testing so you wil …
Dmitri T's user avatar
  • 13.6k
2 votes

Issue with Reading CSV file when doing Distributed testing in Jmeter

Copy CSV files to the same location on all the slave machines Use forward slashes - / as file separators no matter of operating system: Linux/Unix/MacOSX /folder/anotherfolder/file.csv Windows: C:/ …
Dmitri T's user avatar
  • 13.6k
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) sample_variabl …
Dmitri T's user avatar
  • 13.6k
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.6k
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" f …
Dmitri T's user avatar
  • 13.6k
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 you …
Dmitri T's user avatar
  • 13.6k
3 votes

JMeter: Iterating over a set of CSV files over a set of links - nested loops

Given that your foreach controller works and ${jspPage}.csv is being correctly populated it should be fine to read CSV data. Assuming that you have each link in a new line could you please make sure …
Dmitri T's user avatar
  • 13.6k
2 votes

CSVs and JMeter: using variables from a line in multiple samplers

In regards to placement, you need to provide enough iterations to CSV Data Set Config so it could go for 2nd and further lines. So it makes sense to put CSV Data Set Config as a child of a Thread Grou …
Dmitri T's user avatar
  • 13.6k
0 votes

JMeter: Write data in CSV file as rows and columns

First of all, remember to download this "opencsv" library and make sure it is somewhere in JMeter classpath There are 2 approaches to get more information about your Beanshell script failure: Add …
Dmitri T's user avatar
  • 13.6k
0 votes

Compare web content with the CSV File

Normally you should go something like: Create a HTTP Request which will perform the search on the website Extract "interesting" parts of the response using one of JMeter's Post-Processors Compare e …
Dmitri T's user avatar
  • 13.6k
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.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.6k
0 votes

How to use __iterationNum() custom function in JMeter to assign csv file to Http Request

I don't think you will be able to use CSV Data Set Config this way so I would suggest considering using __CSVRead() or __StringFromFile() functions instead. More information: Apache JMeter Functio …
Dmitri T's user avatar
  • 13.6k