Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP tracing for NBomber.Http #528

Closed
4 tasks done
AntyaDev opened this issue Feb 6, 2023 · 11 comments
Closed
4 tasks done

Add HTTP tracing for NBomber.Http #528

AntyaDev opened this issue Feb 6, 2023 · 11 comments
Labels
new feature New feature or request
Milestone

Comments

@AntyaDev
Copy link
Contributor

AntyaDev commented Feb 6, 2023

AC:

  • It should support granular tracing per HTTP call
  • It should write Debug log message
  • It should generate TraceId for request and response
  • It should be enabled via HttpClientArgs.Logger
var scenario = Scenario.Create("http_scenario", async context =>
{
    var request =
        Http.CreateRequest("GET", "https://nbomber.com")
            .WithHeader("Accept", "application/json")
            .WithBody(new StringContent("{ some JSON }"));

    var clientArgs = HttpClientArgs.Create(logger: context.Logger);

    var response = await Http.Send(httpClient, clientArgs, request);

    return response;
});
@AntyaDev AntyaDev added the v4.1.1 label Feb 6, 2023
@pentestguy
Copy link

Hey there!!

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

@AntyaDev AntyaDev added v4.2 and removed v4.1.1 labels Mar 31, 2023
@AntyaDev
Copy link
Contributor Author

AntyaDev commented Mar 31, 2023

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.

@pentestguy
Copy link

Hi @AntyaDev ,

Sure! Thank you..!!

@AntyaDev AntyaDev added 4.3 and removed v4.2 labels Apr 25, 2023
@AntyaDev AntyaDev added 5.2 and removed 4.3 labels Jun 15, 2023
@pentestguy
Copy link

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

@AntyaDev
Copy link
Contributor Author

AntyaDev commented Aug 22, 2023

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 AntyaDev added vNext and removed 5.2 labels Aug 23, 2023
@AntyaDev AntyaDev changed the title Add HTTP tracing for NBomber v4 Add HTTP tracing for NBomber.Http Aug 24, 2023
@AntyaDev AntyaDev added 5.4 and removed 5.3 labels Oct 23, 2023
@AntyaDev AntyaDev added 5.5 and removed 5.4 labels Dec 2, 2023
@leoashish
Copy link

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.

@AntyaDev
Copy link
Contributor Author

AntyaDev commented Dec 11, 2023

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

@AntyaDev
Copy link
Contributor Author

Hi @leoashish
Do you have any progress?

@leoashish
Copy link

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?

@AntyaDev
Copy link
Contributor Author

Hi @pentestguy
let's use NBomber dicussions

@AntyaDev AntyaDev added 5.6 and removed 5.5 labels Feb 1, 2024
@AntyaDev AntyaDev added this to the 5.6.0 milestone Mar 10, 2024
@AntyaDev
Copy link
Contributor Author

@AntyaDev AntyaDev added the new feature New feature or request label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants