Reputation: 23
I want to parametrize Root Element as a whole in HTTP Sampler, as the number of attributes changes for different event codes. When I try to parametrize using CSV it does not take all the attributes(ExtractedValue.JPG)Value in Image Is Extracted which is incomplete. The value which was supposed to be extracted is as follows:
(ActuallvaluetoBeExtracted.JPG)This is the Value which is supposed to be extracted
Can someone please help to identify why it is unable to extract all the attributes?
Upvotes: 1
Views: 86
Reputation: 168082
It might be easier to use one of the following:
If you can put each JSON Payload to new line you can go for:
\n
as the delimiterSee How to Use JMeter Functions article for comprehensive information on above and other JMeter functions.
Upvotes: 1
Reputation: 396
You need to change delimiter in Csv data set config
to any other delimiter except ,
as you want to pass a string which consist of multiple commas from your csv file. So change this to ;
or any other symbol. It will resolve your issue. Please refer below snapshot for better understanding.
Upvotes: 0