Replies: 1 comment
-
To be honest, I believe that every time when nBomber starts execution, it uses a unique sessionId, which should force NBomber to use a different folder for each new run. I need to verify it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using NBomber 5.4.1 and NBomber.Http 5.0.1 to test REST API. I have 4 xUnit load tests with 1 scenario in every test. If I run all the tests from Visual Studio,
reports
folder is created in test project'sbin
directory and it contains 4 subfolders (1 per test run), e.g.:However, if I run tests from command line with
dotnet test
, I see that subfolders per test run are not created anymore and report files are written right into thereports
folder, thus overwriting each other (last one wins).Workaround: specify report folder like
.WithReportFolder($"reports\{testName}")
, so that it always puts test's report into separate folders.Any advice on how to have subfolder per test run when using
dotnet test
without workaround? Is there anything I might be missing in my test setup or anything that can be adjusted/fixed on NBomber side?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions