-1

I am using CSV Data Set Config config element to read CSV file. My requirement is to read line if the column value is value is "Y" else want to skip.

JSON Body Data:

{
    "UserName": "${Username}",
    "Password": "${Password}"
}

CSV File Content:

Username,Password,RunTest
testuser,test@123,Y
testuser1,test@12,N
CDspace
  • 2,639
  • 18
  • 30
  • 36
DeepakVerma
  • 179
  • 1
  • 3
  • 14

1 Answers1

1

Add a If Controller just before the request. In the Condition, use the below syntax:

"${RunTest}" == "Y"

In Run-time, if the value is Y, it will trigger your HTTP request, else not.

NaveenKumar Namachivayam
  • 1,163
  • 3
  • 25
  • 39