cancel
Showing results for 
Search instead for 
Did you mean: 

Security Tests Auth Token

SOLVED
Highlighted
New Contributor

Security Tests Auth Token

Hello community!

First of all I apologize thats probably a very dumb question but I am a noob to ReadyAPI.

 

I imported my YAML files and was able to build all my testcases in SoapUI Pro. Awesome tool, very intuitive, and the community support is great! Even was able to develope several groovy scripts.

So far so good, I want to start my Security Tests!

 

If I right click every Testcase and click "Create Security Test" and then hit run on the Security Tests it works just fine!

But if I right click SoapUI Pro and hit Launch Security TestRunner, I get an error - well now I get an error it worked just once 🙂

19:24:04,478 ERROR [errorlog] java.lang.RuntimeException: Unable to
refresh expired access token.
java.lang.RuntimeException: Unable to refresh expired access token.

Updating the Token via Auth Manager works just for my Testcases but does not update my TestRunner Auth Token.

I do something wrong but could not figure out what it is, so any help beside "RTFM" 😉 is highly welcome. Btw even RTFM is welcome if you tell me where to read *ggg*

 

cheers

Christian

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: Security Tests Auth Token

Hi @ch_kaufmann ,

 

I've found the right manual for youSmiley Happy 

Try retrieveing the token automatically, here's the OAuth Automation Example.

Let me know  whether it works! Thank you.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
Highlighted
Community Manager

Re: Security Tests Auth Token

Hi @ch_kaufmann ,

 

I've found the right manual for youSmiley Happy 

Try retrieveing the token automatically, here's the OAuth Automation Example.

Let me know  whether it works! Thank you.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors