harinadhaOccasional ContributorJoined 9 years ago14 Posts1 LikeLikes received1 SolutionView All Badges
ContributionsMost RecentMost LikesSolutionsRe: 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. Any 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) However request sent to server with Authorization - No Authorization. any thoughts on how to select the Authorization : Basic using groovy? SolvedRe: How to install SOAPUI Tool on windows remote system using command prompt? As part of CICD, Would like to install tool and execute the suite on remote machine, and remote machine would be a virtual machine/Cloud Space crated over fly. Thanks, Hari Re: How to install SOAPUI Tool on windows remote system using command prompt? Hi, Problem is, how to download and install SOAPUI programmatically. So that manual intervention can be avoided when automation suite trigger from CI tool on a remote system. Thanks, Hari How 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, Hari Re: 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.xml SOAP 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 have settings.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> Any thoughts to handle PUT operations using Groovy? Any thoughts to handle PUT operations using Groovy + SOAPUI ? Re: multiple certificate/keystores per testcase Hi All, Any thoughts on, how to achieve the above scenario(Import multiple SSL files and select one for the test step) using Groovy? Thanks & Regards, Hari Groovy to handle basic authentication over the runtime? does anyone handled basic authentication over the runtime using groovy? or any thoughts?