HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Request returning text/plain instead app/js Messages in this topic - RSS

bruno
bruno
Posts: 1


7/17/2018
bruno
bruno
Posts: 1
Hi,

I'm testing an MS Dynamics Finance and Ops app and one of the requests for a javascript is coming back as text/plain instead of application/javascript.

This is causing the request to take a much longer time than in reality.

I've tried forcing the GET request to accept only application/javascript, but then it causes a 406 error (it works on POSTMAN).

Any ideas on why StresStimulus is getting a different response than POSTMAN and manually accessing the app?

Cheers
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 568


7/17/2018
George @StresStimulus
George @StresStimulus
Administrator
Posts: 568
It looks like the server sending back an incorrect content-type due to an issue in one of the previous requests.

Typically StresStimulus fully auto-correlates scenarios recorded against a default installation of MS Dynamics FO 365 and replays them without errors out-of-the-box.

Did you verify your script and did you received any errors or warnings? http://support.stresstimulus.com/display/doc49/Verifying+the+Test+Case

Resolving them is described here http://support.stresstimulus.com/display/doc49/Resolving+Errors+and+Warnings

It is likely that an autocorrelation rule is missing in your script. Unfortunately without looking a script will be difficult to suggest how to create an extractor and a parameter.

I can privately email you a link for scheduling a support session where our staff will fix your script, if OK.

-Cheers
0 link






Copyright © 2025 Stimulus Technology