Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Dynamic Data

$
0
0
I've a situation that I can't figure out how to solve; I'm hoping someone in this forum can provide ideas. Here is the background:

I am making HTTP-based API calls to a system. The response to one of these calls returns the ID (an integer) of an entity that has been created. This ID is extracted via the Regular Expression Extractor and assigned to a variable (call it "DEVICE_ID") in the Regular Expression Extractor pane and the value of DEVICE_ID is written to a .csv file via the Flexible File Writer plugin. I have confirmed that the integer value is correctly written to the file. Eventually, I want to delete this entity via an API call. The following API call (format) works exactly as intended:

/rest/api/X/Y/${DEVICE_ID}

whereas the following fails:
/rest/api/X/Y/${__CSVRead(C:\Users\Administrator\Desktop\jmeter\bin\FILENAME.csv,1)}

The failure occurs because there is no appending of the device ID.

What I am doing incorrectly?

Best regards,

Bo

Viewing all articles
Browse latest Browse all 5648

Trending Articles