Unanswered question

After recording a script I am getting an error "<<Body not stored by NeoLoad. (Stores only text content) >>"?

In recorded response pane I am getting an error saying "<<Body not stored by NeoLoad. (Stores only text content) >>"
Please help I am stuck

Swati B.
Swati B.

Swati B.

Level
0
46 / 100
points

Answers

Patrick Z.
Patrick Z.

Patrick Z.

Level
1
232 / 750
points

There is an option to overwrite the recorded content after checking the virtual user.

Swati B.
Swati B.

Swati B.

Level
0
46 / 100
points

Hi Patrick, Thank you so much for taking time to write answer. Unfortunately it is not working I have screenshots for your review. I have been struggling since last week please help.

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

What happens when you click on the "update" button?

Your screen shot is only showing that the validation failed. The user validation is run in debug mode which means that any response content (even binary) will be displayed.

 

Stijn S.
Stijn S.

Stijn S.

Level
0
13 / 100
points

We have exactly the same issue with JSON requests. The recording is not stored in NeoLoad. Also the update recording does not work either. Luckily when playing back (Check) the user path the responses were displayed and we could correlate and update the user path based on this. Not perfect but at least a way to unblock the issue.

Klemens L.
Klemens L.

Klemens L.

Level
0
81 / 100
points

Hi,

here is the solution that worked for me (thx to the NeoLoad support):

Under [General] section of the \conf\controller.properties file there's that key: json.codec.accepted.content.types=application/hal+json
You can add your custom content type like this: json.codec.accepted.content.types=application/hal+json,application/vnd.at.something+json
Restart NeoLoad and try again the update from the check virtual user panel.