Some thoughts after first week of using NBomber #389
Replies: 1 comment
-
Hi @dominikjeske
Actually, you can pass your own HttpClient (included certificate or base url) and NBomber will use it. HttpClientFactory.Create(new HttpClient())
NBomber is not creating a new instance per each step invocation instead it builds ClientConnectionPool and reuse instance. It populate ClientConnectionPool using ClientFactory. HttpClientFactory.create is using clientCount = 1, here you can see it Also NBomber prints count of created clients:
I will think about it, sounds reasonable.
I guess with this one; we have a fundamental problem. Usually, debugging or tracing is not a proper place for load tests. You should do this type of thing in an earlier phase. Plus this advanced tracing will bring some complexity that I don't like to see in NBomber. |
Beta Was this translation helpful? Give feedback.
-
I’m using NBomber for couple days and have some thoughts about it.
First off all I think it is great idea to introduce test framework that can be filled by developer – it is more flexible then standalone apps. Problems/ideas I had:
Beta Was this translation helpful? Give feedback.
All reactions