Testing Mendix apps with NeoLoad

0
Hi there,I'm trying to do a load test with NeoLoad. I have recorded a script to sign in as a certain user and then load the homepage (very basic stuff). Now if I check the validity of the script, most of my requests fail. I have done some reading and debugging and found that it was likely due to csrf-tokens not being sent correctly. I have now extracted the csrf-token from the login-response into a variable, and use that variable in the header of all subsequent requests. Rechecking the validity of the user path:  login: successful get_session_data: successful next few xas/ calls: fail with messages like "{"description":"Executing runtime operation failed for security reasons: cH8qsF2P104lkFOg8rM3xA","result":560,"type":"exception"}" Are there more headers I need to change dynamically? Anything else I'm missing? Any help would be appreciated
asked
1 answers
0

Due to the complexity of performance testing in Mendix by simulating the xas requests, it could be better to just not do it. 

 

I think you're bettor off by trying to use free tools for monitoring performance like the nanoprofiler. 

 

https://marketplace.mendix.com/link/component/118285

 

You could also check slow running queries by looking into the logs of you application for the following messages 

 

WARNING - ConnectionBus_Queries: Query executed inWARNING - ConnectionBus_Queries: Query executed in ... 

 

This will let you know which SQL queries took how much to execute. 

 

Hope this helps!

answered