0

I have a MSTest project with Selenium test cases in C#.

enter image description here

I saw that Jmeter used to work with Java Selenium scripts. how can I make a load testing running those C# scripts into Jmeter for multiple users at the same time?

The output only generates a .DLL for the project.

1 Answer 1

1

CLR and JVM are "alien" so you won't be able to run C# tests in JMeter.

Moreover using real browsers for load testing is not the best idea as browsers are very resource intensive (1 CPU core and 2 GB of RAM for latest Firefox) so you the number of virtual users you will be able to simulate this way is way too limited comparing with HTTP protocol based load tests which resource footprint is much less. Moreover you won't get metrics you can analyze

So the options are in:

  1. Run your MSTest solution in command-line mode in multi-threaded manner using OS Process Sampler (however this way you won't be able to get good results for analysis as JMeter won't know anything about hits per second and response times)

  2. Convert your MSTest solution into "pure" JMeter test, the options are in:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.