Blazemeter / hubot-blazemeter

A hubot script for blazemeter integration
3 stars 1 forks source link

hubot bm set api key <key_id>:<key_secret> not working #2

Closed SanjuTechie87 closed 4 years ago

SanjuTechie87 commented 4 years ago

Hi Gilad, Thanks for acknowledging and updating the code. I am trying with the new updated source code, but I am not seeing the option to set bm set api key api id: secret key option when using the command Hubot help.

myhubot bm get api key myhubot bm get env myhubot bm list (tests|collections|masters|sessions) myhubot bm list running (tests|collections|masters|sessions) myhubot bm run test myhubot bm set api key myhubot bm set env myhubot bm stop test myhubot bm whoami

Note: I tried with providing my Blazemeter api key id: secret id but nothing is happening. Though the error has now changed. I am getting 401 unauthorised now .

Could you please look into it. Thanks in advance

pgilad commented 4 years ago

Yep, I see the error, will fix in a minute

pgilad commented 4 years ago

Fixed in https://github.com/Blazemeter/hubot-blazemeter/releases/tag/v2.1.0 please try again 🙏

SanjuTechie87 commented 4 years ago

Hi Gilad, Again thanks much for the fix . Now I am able to login . In response to hubot bm whoami command I am getting back Shell: Successfully checked in with https://a.blazemeter.com. But now the issue is no other commands are working like :

hubot bm list (tests|collections|masters|sessions) hubot bm list running (tests|collections|masters|sessions) hubot bm run test

The first two commands returning nothing. hubot bm run test - this one returning the below:

Shell: Launching test 6940042. This might take a while... Shell: Got 404: Not Found

whereas I have one test in Blazemeter with id 6940042. Again require your kind help. Thanks a lot.

pgilad commented 4 years ago

What happens when you run: hubot bm whoami ?

Oh nevermind, I see that it works well. Let me check it..