Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

LDAP(S) performance testing using Neoload

$
0
0

Hello,

I'm trying to test LDAP(S) using Neoload 6.2.0. Correct me if I'm wrong, but Neoload doesn't have predefined LDAP(S) actions. So the first solution I tried is to create my custom actions.

One of the requirements is to maintain the same connexion through all the steps of the test case. So my question is how to pass a variable (in this case LdapContext) from one ActionEngine(execute) to another OR how to set a variable visible from different ActionEngines ?

public SampleResult execute(Context context, List<ActionParameter> parameters) :
The method execute has two parameters one is List<ActionParameter> which contains the values in fields defined in Action that will come from the GUI. The other is Context context, which seems the solution to my problem but, I can't find an implemented method that does what I need.

As a workaround, I called my Java methods (LDAP(S) actions) using JavaScript and maintained the same connexion during all the test case by passing the instance of my class using context.currentVU.put(...) and then getting it using context.variableManager.getValue().

Is there an equivalent to context.currentVU.put() in your Java API?

Thank you in advance.


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>