Skip to content

abstracta/jmeter-dotnet-dsl-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Abstracta.JmeterDsl.Sample

This is a sample .Net project with simple Abstracta.JmeterDsl test plan invoking an invalid url.

This is a sample .Net project only containing a simple Abstracta.JmeterDsl test to hit fake site (https://myservice) which can help starting a performance testing project from scratch.

Check Abstracta.JmeterDsl user guide for more details jmeter-java-dsl and usage on existing Java projects.

Pre requisites

  • .Net 6.0+
  • Java 11+

Contents

File Description
PerformanceTest.cs Class containing one simple example of performance test. You may create many NUnit tests as you want in one or multiple classes. Feel free to rename namespace according to your company or domain (eg: MyCompany.JmeterDsl.Sample).
log4j2.xml Log4j2 configuration file which allows tuning level (info, warn, debug), loggers (per package & class name) and destination of logs (stdout, file, etc).

Executing tests

To execute the tests use IDE integrated features or use dotnet:

dotnet test --logger "Console;verbosity=normal"