Contributions
Re: Any thought on how to set Authentication type to Basic over the run programmatically
Thank you for the response. and i have resolved the issue by adding the following code. testStep.getTestRequest().setSelectedAuthProfileAndAuthType(AbstractHttpRequest.BASIC_AUTH_PROFILE,CredentialsConfig.AuthType.PREEMPTIVE) and it is the same as you mentioned above.3.4KViews0likes0CommentsAny thought on how to set Authentication type to Basic over the run programmatically
I have a following code to create to create Basic profile for specific test step, def testStep= testRunner.getTestCase().getTestStepByName("RunTimeOperation") testStep.getTestRequest().addBasicAuthenticationProfile("Basic") testStep.getTestRequest().setUsername(strUserName) testStep.getTestRequest().setPassword(strPwd) testStep.getTestRequest().setDomain(strDomain) testStep.getTestRequest().setPreemptive(true) Howeverrequest sent to server withAuthorization - No Authorization. any thoughts on how to select theAuthorization : Basic using groovy?Solved3.5KViews0likes2CommentsHow to install SOAPUI Tool on windows remote system using command prompt?
I would like to trigger the SOAPUI Test Automation suite from Jenkins on a remote node where no SOAPUI installed. So, Would like to check and install SOAPUI before triggering the test automation suite on a remote node. Any thoughts around this? Thanks & Regards, Hari1.9KViews0likes5CommentsRe: SOAP UI and Maven integration - Failed to read artifact descriptor for gnu.cajo:cajo:jar:1.142
Thank you for the response. fixed the issue, pls find the below solution. <Maven settings file Start > <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository>......\.m2\repository</localRepository> <offline>false</offline> <pluginGroups> <pluginGroup>org.sonatype.plugins</pluginGroup> <pluginGroup>org.jvnet.hudson.tools</pluginGroup> <pluginGroup>org.apache.maven.plugins</pluginGroup> <pluginGroup>org.apache.maven.plugin</pluginGroup> <pluginGroup>org.codehaus.mojo</pluginGroup> </pluginGroups> <!--<mirrors> <mirror> <id>artifactory</id> <name>Artifactory</name> <url>https://svn.Company.com</url> <mirrorOf>*</mirrorOf> </mirror> </mirrors>--> <servers> <server> <id>http://repo1.uhc.com/artifactory/repo</id> <username>user</username> <password>enptpwd</password> </server> </servers> <profiles> <profile> <pluginRepositories> <pluginRepository> <id>SmartBearPluginRepository</id> <url>http://www.soapui.org/repository/maven2/</url> </pluginRepository> </pluginRepositories> </profile> </profiles> </settings> <Maven settings file End> and there is no change in the pom.xml3.3KViews1like1CommentSOAP UI and Maven integration - Failed to read artifact descriptor for gnu.cajo:cajo:jar:1.142
Hi All, As per the suggestions available at - https://www.soapui.org/test-automation/maven/maven-2-x.html havesettings.xml and POM.xml in place. When i execute the pom from cmd prompt(/Jenkins), experiencing the below issue : gnu.cajo:cajo:jar:1.142: Failed to read artifact descriptor for gnu.cajo:cajo:jar:1.142: Could not transfer artifact gnu.cajo:cajo:pom:1.142 from/to artifactory ... any thoughts around this? <Error log start> [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.588 s [INFO] Finished at: 2016-08-24T12:09:10-04:00 [INFO] Final Memory: 17M/224M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.smartbear.soapui:soapui-pro-maven-plugin:5.1.2:test (default) on project soapui-maven2-plugin: Execution default of goal com.smartbear.soapui:soapui-pro-maven-plugin:5.1.2:test failed: Plugin com.smartbear.soapui:soapui-pro-maven-plugin:5.1.2 or one of its dependencies could not be resolved: Failed to collect dependencies at com.smartbear.soapui:soapui-pro-maven-plugin:jar:5.1.2 -> com.smartbear.soapui:soapui:jar:5.1.2 -> gnu.cajo:cajo:jar:1.142: Failed to read artifact descriptor for gnu.cajo:cajo:jar:1.142: Could not transfer artifact gnu.cajo:cajo:pom:1.142 from/to artifactory (http://repo1.Company.com/artifactory/repo): Failed to transfer file: http://repo1.Company.com/artifactory/repo/gnu/cajo/cajo/1.142/cajo-1.142.pom. Return code is: 409, ReasonPhrase: Conflict. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException [JENKINS] Archiving C:\APIDeploy\pom.xml to com.smartbear.samples/soapui-maven2-plugin/4.6.4-m-SNAPSHOT/soapui-maven2-plugin-4.6.4-m-SNAPSHOT.pom channel stopped Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc." Finished: FAILURE <Error log start>3.3KViews0likes3Comments