NBomber icon indicating copy to clipboard operation
NBomber copied to clipboard

Add HTTP tracing for NBomber.Http

Open AntyaDev opened this issue 2 years ago • 10 comments

AC:

  • Http tracing should work for NBomber.HTTP via configuration parameter
  • https://stackoverflow.com/questions/18924996/logging-request-response-messages-when-using-httpclient
  • https://www.jordanbrown.dev/2021/02/06/2021/http-to-raw-string-csharp/

AntyaDev avatar Feb 06 '23 12:02 AntyaDev

Hey there!!

Is there any update on this? I saw the newer version which is 4.1.2

pentestguy avatar Mar 31 '23 09:03 pentestguy

Hi @pentestguy

I am busy with other tasks and therefore can wait to take this one. I hope it will be released with 4.2.

Btw, if you want to help with this, I will be able to assist. Just ping me in slack.

AntyaDev avatar Mar 31 '23 15:03 AntyaDev

Hi @AntyaDev ,

Sure! Thank you..!!

pentestguy avatar Apr 17 '23 13:04 pentestguy

Hey @AntyaDev , hope you are doing well.

Is this feature added in the latest release because I am unable to see the HTTP tracing logs?

Thank you

pentestguy avatar Aug 22 '23 10:08 pentestguy

Hi @pentestguy , Nice to see you :)

The priority for this task was changed due to migrating to NBomber Cluster. I will prioritize it for the next (5.3 or 5.4) version. Also, NBomber.Http is open source, and I would like to see some contributions since this feature is not very complicated.

AntyaDev avatar Aug 22 '23 15:08 AntyaDev

Hey @AntyaDev , I can work on this issue as suggested by you. Will go over the links provided. I will try my best to complete it.

leoashish avatar Dec 11 '23 16:12 leoashish

@leoashish Amazing! Ping me if you need any help This is the link on NBomber.Http

AntyaDev avatar Dec 11 '23 18:12 AntyaDev

Hi @leoashish Do you have any progress?

AntyaDev avatar Dec 20 '23 14:12 AntyaDev

Hey @AntyaDev, I have done a rough coding. We need to test it thoroughly. One Question: I have to log the Response to the Console for each HTTP Request. That's it no. According to the StackOverflow posts mentioned, that's what I understood. It will be completed in a few days. Are there any Discord or slack channels where I can ask my queries?

leoashish avatar Dec 21 '23 17:12 leoashish

Hi @pentestguy let's use NBomber dicussions

AntyaDev avatar Dec 23 '23 12:12 AntyaDev

https://github.com/PragmaticFlow/NBomber.Http/commit/f5c54b5c8f12858038a704ea7471388b4795dbfa

AntyaDev avatar Mar 15 '24 18:03 AntyaDev