Postman for load testing using k6, with Tim Haselaars (k6 Office Hours #43)

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

Комментарии • 36

  • @OksanaMaksymenko-p6l
    @OksanaMaksymenko-p6l Год назад +2

    this is a golden video.! thank you Tim for sharing your knowledge!

  • @Long_Le29
    @Long_Le29 Год назад +2

    Thank you Tim and the k6 team for making this.
    Really mind blowing !!!

  • @chakrapani555
    @chakrapani555 Год назад +1

    Excellent !!!. Really Mind blowing work. Thank you Tim and K6

    • @k6io
      @k6io  Год назад

      Happy to hear you liked it, Chakrapani! Tim is indeed doing fantastic work! - Nicole

  • @darinacherepanova6930
    @darinacherepanova6930 Год назад +1

    Many thanks for this video! It's really helpful

  • @pratikshekar1987
    @pratikshekar1987 2 года назад +2

    I am speechless after seeing how the API design, development, documentation and test are automated. Pretty excited to try the Postman to k6 integration. Great work :)

    • @k6io
      @k6io  2 года назад

      Really love hearing that, Kunal-- I hope you've gotten a chance to try it! We'd love to hear what you think. :) - Nicole

  • @performance_testing
    @performance_testing 9 месяцев назад +1

    Thank you guys!

  • @TBVnBIX
    @TBVnBIX 2 года назад +3

    I had the similar experience with postman, where i chained like 20+ requests and tryed to stress test the system at my work with them, but it wasn't enough. Postman was crashing here and there, so i decided to switch to Cypress and K6, with K6 i'm doing stress tests that break the system and it helped a lot for refactoring the code of the backend. Thought i was the only one with such expirience, glad i watched this stream

    • @k6io
      @k6io  2 года назад

      It's great to hear this use case! I think Postman is a great tool, but I agree that Cypress and k6 are better for what you needed. Thanks for watching! - Nicole

  • @NomadicDmitry
    @NomadicDmitry 2 года назад +1

    Wow, it's nice to see that there is a script to convert from a Postman script to K6. Nice one!

    • @k6io
      @k6io  2 года назад +2

      Yeah! It's awesome, right?? Tim's definitely doing great work!

  • @joepage3065
    @joepage3065 2 года назад +1

    Great presentation, thanks for sharing.

    • @k6io
      @k6io  2 года назад

      Thanks for watching!

  • @kousiksinha6171
    @kousiksinha6171 2 года назад +1

    It is really brilliant and very useful

    • @k6io
      @k6io  2 года назад

      Glad you think so!

  • @nikolayt7246
    @nikolayt7246 2 года назад +1

    Hi! I have question. And help would be greatly appreciated.
    After running my load tests to the K6 cloud, how can I compare custom metrics between two runs from the Performance Overview section. It seems that my Performance Overview section only contains some default metrics: VUs, request rate, response time and failed requests rate, but I want to add my already generated custom metrics from the Analysis section to the Performance Overview section, so I can use the Compare Result option and compare between two test runs, thanks!

    • @k6io
      @k6io  2 года назад

      Hi, Nic! You can't add custom metrics to the Performance Overview section, but if you already have the custom metric added in the Analysis section, you can add click the + sign to "Add to comparison", and it will show up in the comparison chart. If you have further questions, could you reach out to us at support@k6.io ? That way we can have a look at your specific account if needed. :) - Nicole

  • @Kpizzle1289
    @Kpizzle1289 2 года назад +1

    Love this guys! I want to take this workflow into my QA team. Do you know if the postman-to-k6 supports GraphQL or will it only convert REST API's?

    • @k6io
      @k6io  2 года назад

      Hi Kyle!
      I asked Tim about GraphQL support for the converter, and he mentioned that there is an existing issue that was just raised: github.com/apideck-libraries/postman-to-k6/issues/41
      Was it you? In any case, it would be useful if you could chime in on that thread with more information about the error you're seeing.
      - Nicole

  • @keerthimj8248
    @keerthimj8248 Год назад

    I have converted a Postman collection into K6 Script but I am facing an error
    TypeError: Cannot read property 'set' of undefined or null
    pm.test("Login request", function() {
    pm.environment.set("Authorization", response.headers["AuthToken"]);
    });
    Help me on this - How to do the sequencing

    • @djthim
      @djthim Год назад

      Can you drop this issue on the discussion board of the repo? That way we can see in the community, how to solve this.

  • @wmorgenstern
    @wmorgenstern Год назад

    I am using portman to convert from OpenAPI Spec to postman, and then use postman to k6, to run k6. However, when I use postman-to-k6, I get this error
    GoError: group and check names may not contain '::'

  • @forrestthompson4686
    @forrestthompson4686 2 года назад

    Is there an example of an npx script where a collection and environment is being called from Postman API directly and not calling files living within the repo?

    • @djthim
      @djthim 2 года назад

      Hi Forrest Thompson, we have added a small example how to fetch the collection & environment directly from the Postman API: github.com/apideck-libraries/postman-to-k6/discussions/85#discussioncomment-3597827

    • @djthim
      @djthim 2 года назад

      hi Thompson, We shared an example in the Github repo > discussions section:" Using PM API key for collection and env"
      #85

  • @valentinadube9867
    @valentinadube9867 8 месяцев назад

    How did you export postman collection to IJ? I get blank file.

    • @djthim
      @djthim 7 месяцев назад

      What do you mean with IJ?

  • @eversondesda6846
    @eversondesda6846 Год назад +1

    Top

  • @abhinayadutta
    @abhinayadutta 2 года назад

    Hi, by any chance is there a way to add config.json in the k6 script using postman-to-k6 converter? How can we handle it without touching the k6 script?

    • @djthim
      @djthim 2 года назад

      You can pass along the K6 params and the postman-to-k6 convertor will use in the generated K6 script. Have a look at the readme of the postman-to-k6 package and look for the "K6 Param Options File"

    • @djthim
      @djthim 2 года назад

      Can you share your issue in the Github issue queue of the library, that makes it easier to figure out what your usecase is.

  • @billyramogi8864
    @billyramogi8864 2 года назад +1

    How's this free 😀? I'm becoming a Ninja thanks to you

    • @k6io
      @k6io  2 года назад

      Haha. Glad to hear it! Open source all the way! :) - Nicole