ContributionsMost RecentMost LikesSolutionsFailed to read artifact descriptor for surfire plugin during the readyapi plugin development Hi Team, I recently planned to developing the ready api plugins. I am facing the issue in maven install test step ,please find the below logs that i am getting in command prompt and eclipse too. I really intersted to do the plugin development kindly help me, i am using maven 3.2.5 and jdk 1.7 tried all the ways of searching this issue and no luck so far. Increased the surfire plugin version to 3 and that too not worked for me.Please kindly help on this issue. F:\Users\testme\Desktop\plugin development\apache-maven-3.2.5-bin\apache-maven- 3.2.5\my-plugin>mvn clean:install [INFO] Scanning for projects... Downloading: http://cobalt/artifactory/repo/org/apache/maven/plugins/maven-suref ire-plugin/2.9/maven-surefire-plugin-2.9.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:mave n-surefire-plugin:2.9: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.9 or one of its dependencies could not be resolved: Failed to read artifact descr iptor for org.apache.maven.plugins:maven-surefire-plugin:jar:2.9 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.346 s [INFO] Finished at: 2019-06-03T18:48:47+01:00 [INFO] Final Memory: 5M/123M [INFO] ------------------------------------------------------------------------ [ERROR] Could not find goal 'install' in plugin org.apache.maven.plugins:maven-c lean-plugin:2.5 among available goals clean, help -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] SolvedRe: How to set the resource path at run time while creating a test case using groovy script ? Its needed when we switch to the new version of resource like versions. /v1/service to /v2/service. do we need same resource path for mock server and client? Hi Team, I have readyAPI version in my system.We have an third party system for accessing their API's. We have our own format of resource (example : /Books/{language}) and Converting the URI format into third party API resource format (example : /subject/{lang}) Here in project level we have to create the resource like this endpoint/Books/{language} and in mockserver ndpoint/subject/{lang} when we try this above combination its not working. but its working if the resource are same fot Project level and mock server like below. endpoint/Books/{language}-if we give the same value in project level resource and mock sever resource then its fine. My question is , 1. When we are doing mocking resource name for the mocksever and project level resource (client) needs to be same ? 2. if the above question is wrong then please guide how to do this. Thanks for your help in advance How to get the xpath match assertion value in next step of groovy script ?I have two test steps in my soapui test suite. The first test step is to get the http response .here I am getting the specific content using xpath match assertion ://employee/username provides username of the employee (not groovy) Step 2 adding groovy script to get the test step 1 xpath match assertion value(username) in script assertion. Kindly please help me to this.SolvedRe: Script assertion using testrunner may i know the root cause why this is not access to the test runner? PaulDonny wrote: Script Assertion does not have access to the testRunner, you have to use the messageExchange instead. def testCase = messageExchange.modelItem.testCase; def expected = testCase.getPropertyValue("suiteNumber"); This should work. PaulDonny wrote: Script Assertion does not have access to the testRunner, you have to use the messageExchange instead. def testCase = messageExchange.modelItem.testCase; def expected = testCase.getPropertyValue("suiteNumber"); This should work. Regex-xpath-how to extract a substring from string? I have the following xpath match in my test suite, //html/body/div[2]/table/tbody/tr[td/b[text()='NewsV1']]//td[4]/a[1]/@href[1] Result : http://news.co.uk:10100/local-news-en-1.0/info I want the result as http://news.co.uk:10100/ I tried the below xpath expression with reg ex, concat(join(tokenize(//html/body/div[2]/table/tbody/tr[td/b[text()='NewsV1']]//td[4]/a[1]/@href[1], '/' )[position() < 4],'/'),'/') This i am getting the error as invalid xpath expression.kindly suggest me why this xpath expression is incorrect and help me to form the correct syntax to get the substring properly. I cant write this groovy script to get this..i am facing CDATA error because of http response. So i want the suggestion for xpath+regex Thanks for advance .same problem in ready API too