Why can't I use property expansions in Auth Repository? Is there a workaround?
I was hoping to use hardcoded OAuth tokens in my project, but protect them somehow so they aren't clear text in source control. I was hoping I could use Custom Project Properties that were read from a file that was ignored by source control. This doesn't appear to work. Property expansions don't appear to work here. Does anyone know a way to do this?Solved1.1KViews0likes3CommentsNTLM Authorization does not work with SOAPUI Opensource
Hi all, Similar questions have been posted about this. I have a web service that supports multiple authentication methods. But I want to pass an NTLM authorization from SoapUI. Unfortunately, the web service first attempts a Kerberos authentication, and that fails. So the web service goes into "Negotiate" mode - it returns a message: HTTP/1.1 401 Unauthorized Content-Length: 0 Server: Microsoft-HTTPAPI/2.0 WWW-Authenticate: Negotiate It is expecting the request to re-send the authentication, at which time it will then attempt an NTLM authentication. When testing SoapUI, I struggled with this before I knew the reason, and I tried SoapUI Pro, which does not have this same problem. SoapUI Pro will authenticate properly Does anyone know if there is a setting or other workaround in SoapUI OpenSource? Thanks, Ron968Views0likes0CommentsUsing context parameter in Request Authorization
Hi, I am currently building a Test Case in which I use scripts to parse the response body of a few REST API Call Test Steps. 1. I create a user: POST /user/signup. 2. I log in with the created user: POST /user/login ( response body contains a JWT token that I want to use as Authorization in the following API Calls ) 3. I parse the token with the following script: import groovy.json.JsonSlurper responseContent = testRunner.testCase.getTestStepByName("POST User Login").getPropertyValue("response") jsonParser = new JsonSlurper().parseText(responseContent) context.JWTToken = jsonParser.token log.info ("Token in context: " + context.JWTToken) The token correctly logs in the log.info (line 5 of the script), so it is valid and stocked as a context variable. 4. I want to create a product: POST /products . This API Call needs a valid JWT to suceed, so I want to pass my stocked context.JWTToken as the value of the the Access Token. It doesn't work and I would gladly like to get some help on how to make it work. I also tried: ${context.JWTToken} ; context.JWTToken ; JWTToken ; ${=JWTToken} ; ${JWTToken} Thank youSolved3.8KViews1like2CommentsGetting Authorization code using private key JWT as client authenticatoin.
We are implementing UK open banking and authenticating client using JWS Client Assertion using a private key JWT. Post request to autorisation end point is send with signed JWT in body. It is then redirected to user authentication (username and password). Authorization code is recieved which then need to be exchanged with access token. Not able to achieve this using OAthu2 in soapui as there is no option to use signed JWT (in body). Also is it possible to get the access token is two step ? 1. Get authorizatio code by sending the signed JWT in the body 2. Exchange authorization code with access token1.7KViews0likes1Comment