JMeter executing runtime operation failed for security reasons

0
Hi all,   We are trying to get JMeter to work for our app so we can do some load testing. We (think we) have the correct CSRF token, XASSESIONID and xasid extracted using regex/json, and the username/password combo that we use to login works if we use it ourselves in the browser, and has the rights to call all the necessary microflows.   However, if we run it in JMeter, after the initial login and get_session_data calls, we get the error 'executing runtime operation failed for security reasons'. I am aware this is generally an issue with entity access or microflow rights, but those are all correct as we can use them when we test it ourselves. Any idea how this could happen?   This is on Mendix 10.6.4 but the studio pro version selector does not go higher than 10.6.1.
asked
1 answers
0

Due to the complexity of performance testing in Mendix by simulating the xas requests especially via JMeter, 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