Hi All,
I'm having similar problem from long time. In our case using "Authorization Code Grant". My pom.xml & Maven execution log are as below. Any help on this will be really appreciated.
POM.XML:-
<profile>
<id>apismoke-testing</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.smartbear</groupId>
<artifactId>ready-api-maven-plugin</artifactId>
<version>1.4.1</version>
<dependencies>
<dependency>
<groupId>com.github.fge</groupId>
<artifactId>json-schema-validator</artifactId>
<version>2.2.6</version>
</dependency>
</dependencies>
<configuration>
<projectFile>${basedir}/src/test/resources/Marketlink-API-soapui-project.xml</projectFile>
<outputFolder>${basedir}/target/soapui</outputFolder>
<junitReport>true</junitReport>
<printReport>true</printReport>
<endpoint>https://ecx-xxx-xx-xx-xxx.compute-1.amazonaws.com:8xx9</endpoint>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Log:-
15:11:20,830 INFO [SoapUIProTestCaseRunner] running step [GET List]
15:11:20,845 INFO [OAuth2RequestFilter] The access token has expired, trying to refresh it.
15:11:21,551 ERROR [SoapUI] An error occurred [Unable to refresh expired access token.], see error log for details
15:11:22,118 INFO [SoapUIProTestCaseRunner] Assertion [Valid HTTP Status Codes] has status FAILED