ContributionsMost RecentMost LikesSolutionsRe: Using external JAR files (in free SOAPUI) outside the default (lib) folder I have found the solution. Problem can be solved by adding this line in groovy script. (as first line) com.eviware.soapui.support.ClasspathHacker.addURL(new URL("file:\\C:\\jxl.jar")) import jxl.* import jxl.write.* Using external JAR files (in free SOAPUI) outside the default (lib) folder All, I have a little problem. I want to use the JXL.jar (to read data from XLS file). Normally you should add downloaded jar files in the "bin"-folder. But I don't have permission to copy paste that file in this folder. (Reason: I don't have admin rights) Is there another way to use this file from another location in my SOAPUI project? I hope somebody can solve this issue. 😉 Thanks in advance! Regards, Tsjak SolvedRe: Create OAuth2 token via groovy Hi richie, Why is it so difficult? I would expect that it should work if I use following code: oAuthProfile.setClientID("client id") oAuthProfile.setClientSecret("client secret") oAuthProfile.setScope("scope") oAuthProfile.setAuthorizationURI("authorization URL" ) oAuthProfile.setAccessTokenURI("AccessToken URL" ) oAuthProfile.setRedirectURI("Redirect URL" ) def oAuthClientFacade = new OltuOAuth2ClientFacade(TokenType.ACCESS); oAuthClientFacade.requestAccessToken(oAuthProfile, true); But I don't know how I can create the "oAuthProfile"-object. (and off course I need to update the parameters. (same as entered in authorization screen) Create OAuth2 token via groovy Hi, I want to authorize a rest service by passing the token via the header. I know that you can enter all necessary details in "authentication"-tab. (see screenshot) Is there a way to create a token (with same parameters as mentioned in the screenshot) via groovy script? (so that I don't have to create a new profile via GUI) Once token is generated by groovy script, I can store it as property value and link it to the rest service via header parameter. e.g. groovy script provide "xxxxxxx" as token, which I store in "Token"-parameter (part of "Properties") In header of rest service request, I can add following parameter: "Authorization" and with value "${Properties#Token} Can someone help me please with the creation of the groovy script? (to receive the OAuth2 token) Thanks in advance! Re: Use property value in request of next request (JSON) Question can be closed. Have found the issue. Should remove the first #character Instead of using "${#properties#ParameterB}", I should use"${properties#ParameterB}" Use property value in request of next request (JSON) I have some values stored in a properties step. Content of "properties": ParameterA: Test 1 ParameterB: Test 2 I want to use the value of "ParameterB" ("Test 2" in this case) as input of my JSON request (value should be used in part of body) of the next rest service call. I have tried this code: "parameterNewJSONRequest": "${#properties#ParameterB}" Unfortunately my value is not correctly synced. Can someone help me? Thanks in advance! Regards, Jan SolvedRe: Getting data out of json response nmrao Thanks for the quick (and correct) response! You are my hero of the day! Getting data out of json response Hi, As result of a GET call of REST service, I have following JSON response. { "result": [ { "role": "ADMIN", "relationNumber": 8046017, "individual": { "firstName": "aaaa", "lastName": "bbbb", "birthDate": "1980-09-03" }, "addresses": [{ "street": "blablabla", "houseNbr": "0014" }], "involvedObjects": [] }, { "role": "VIEWER", "relationNumber": 8046018, "individual": { "firstName": "cccc", "lastName": "dddd", "birthDate": "1980-09-03" }, "addresses": [{ "street": "blablabla", "houseNbr": "0014" }], "involvedObjects": [] } ], "infos": [] } I want to fetch the first and last name of role = viewer. Unfortunately I cannot use and index since I don't know how many data tags will be delivered in response. So I need to find a way to fetch a subset of the data (role = viewer) and than fetch the firstname and lastname which is part of the individual tag. I hope someone can help me with fetching this data. Thanks in advance! Solved