My goal is to create a Google Drive CRUD with JMeter. I was able to upload files with proper OAuth configuration.
However, I am struggling in extracting the response data to be used in further HTTP Requests.
The response of the upload is this simple JSON:
{
"kind": "drive#file",
"id": "blablabla",
"name": "Untitled",
"mimeType": "text/plain"
}
I would need to fetch this id in a PostProcessor component and update a JMeter variable with this value. This way I could reference to this value in the Read, Update and Delete requests.
I've tried to use the JSON Extractor and BeanShell, but I was unsucessful.