Closed anpin closed 1 year ago
I have found that simply updating FsToolkit.ErrorHandling.TaskResult
to latest version didn't fix the error. I had to also change target framework to netstandard 2.1
(my test project is targeting .net7.0
)
Hi @anpin What version of FsToolkit.ErrorHandling.TaskResult did you used? Try 2.13.0
I have to use latest version 4.6.0
as it is transient dependency from another nuget
It may not work. I never tested with version 4.x
Hi @anpin please try this version https://www.nuget.org/packages/NBomber/5.2.1-beta.0
Hi @anpin please try this version https://www.nuget.org/packages/NBomber/5.2.1-beta.0
Thanks, it works!
dotnet fsi ./nbomber.fsx
_ _ ____ _ ____
| \ | | | __ ) ___ _ __ ___ | |__ ___ _ __ | ___|
| \| | | _ \ / _ \ | '_ ` _ \ | '_ \ / _ \ | '__| |___ \
| |\ | | |_) | | (_) | | | | | | | | |_) | | __/ | | ___) |
|_| \_| |____/ \___/ |_| |_| |_| |_.__/ \___| |_| |____/
12:27:08 [INF] NBomber "5.2.1" started a new session: "2023-08-17_08.27.37_session_97b4bc42"
12:27:08 [INF] NBomber started as single node
12:27:08 [INF] License validation....
12:27:08 [WRN] THIS VERSION IS FREE ONLY FOR PERSONAL USE. You can't use it for an organization.
12:27:08 [INF] Reports folder: "/home/a/.nuget/packages/nbomber/5.2.1-beta.0/lib/netstandard2.1/reports/2023-08-17_08.27.37_session_97b4bc42"
12:27:08 [INF] Plugins: no plugins were loaded
12:27:08 [INF] Reporting sinks: no reporting sinks were loaded
12:27:08 [INF] Starting init...
12:27:08 [INF] Target scenarios: "load-test"
12:27:08 [INF] Init finished
12:27:08 [INF] Starting bombing...
12:27:22 [INF] Stopping scenarios...
12:27:22 [INF] Calculating final statistics...
───────────────────────────────────────────────────────────────────────────────────────────────────── test info ─────────────────────────────────────────────────────────────────────────────────────────────────────
test suite: nbomber_default_test_suite_name
test name: nbomber_default_test_name
session id: 2023-08-17_08.27.37_session_97b4bc42
────────────────────────────────────────────────────────────────────────────────────────────────── scenario stats ───────────────────────────────────────────────────────────────────────────────────────────────────
scenario: load-test
- ok count: 94
- fail count: 0
- all data: 0 MB
- duration: 00:00:10
load simulations:
- keep_constant, copies: 1, during: 00:00:10
┌────────────────────┬────────────────────────────────────────────────────────┐
│ step │ ok stats │
├────────────────────┼────────────────────────────────────────────────────────┤
│ name │ global information │
│ request count │ all = 94, ok = 94, RPS = 9.4 │
│ latency │ min = 99.4, mean = 100.43, max = 106.57, StdDev = 0.79 │
│ latency percentile │ p50 = 100.42, p75 = 100.8, p95 = 101.12, p99 = 101.25 │
└────────────────────┴────────────────────────────────────────────────────────┘
12:27:22 [INF] Reports saved in folder: "/home/a/nbomber-repro/reports/2023-08-17_08.27.37_session_97b4bc42"
12:27:22 [WRN] THIS VERSION IS FREE ONLY FOR PERSONAL USE. You can't use it for an organization.
Hi, I'm unable to run NBomber in NUnit F# project if it has dependency on
FsToolkit.ErrorHandling.TaskResult
package. The error message is:here is quick
fsi
repro