Contributions
- 5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes0Comments
Re: How to apply ReadyAPI floating license to jenkins docker container
Floating license for ReadyAPI.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes2CommentsRe: How to apply ReadyAPI floating license to jenkins docker container
Thanks for information Tanya. I tried that too before trying what I am doing now. there is no option to set specific tool like in other caseMyCode.txtfile for jenkins (https://support.smartbear.com/readyapi/docs/integrations/jenkins.html) I got this following error with this command: (docker run -v="/<projectpath>/Sample-readyapi-project.xml":/project -v="/<reportpath>":/reports -it myCompany/docker) Please select the tool for which you want to get the floating license: 1. SoapUI Pro 2. LoadUI Pro 3. Secure (if you have an old license) 4. ServiceV Pro 5. VirtServer 6. ReadyAPI Bundle ERROR: The license is invalid: Failed to get floating license. Reason: java.rmi.UnknownHostException: Unknown host: licenseServer.com; nested exception is: java.net.UnknownHostException: licenseServer.com Note: My intension is not usingready-api-soapui-testrunnerdocker image. Just use one base docker image (jenkins in my case) and install needed tools for testing. So that we can spin up that container instance as needed and run the tests (have a maven project for ReadyAPI test project).5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes0CommentsHow to apply ReadyAPI floating license to jenkins docker container
Hi, I am trying to run readyapi tests in jenkins docker container. I have installed readyAPI, maven and needed tools on the jenkins docker container. I have setup jenkins and path to maven file. Now how to apply the ReadyAPI license on the jenkins container. Please let me know if you have any idea on this line. thanks host machine os: ubuntu 16.04 LTS docker image: jenkins myReadyAPICode.txt (placed within /usr/local/SmartBear/ReadyAPI-3.0.0/jre/bin) - is the ReadyAPI code file is this the correct doc to follow: https://support.smartbear.com/readyapi/docs/integrations/jenkins.html ReadyAPI_LicenseManager/ready-api-license-manager/license-manager.sh: is the license manager jar and sh file copied to jre/bin I have run this: jenkins@47726b07b137:/usr/local/SmartBear/ReadyAPI-3.0.0/jre/bin$ sh ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager.sh -s licenseServer:1099 ./myReadyAPICode.txt I am getting following error: ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.sh: 2: ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.s: not found ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.sh: 4: ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.s: not found ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.sh: 6: ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.s: not found ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.sh: 7: ./ReadyAPI_LicenseManager/ready-api-license-manager/license-manager_orginal.sh: Syntax error: word unexpected (expecting "in") license-manager.sh file content: #!/bin/sh DIRNAME=`dirname $0` # OS specific support (must be 'true' or 'false'). cygwin=false; case "`uname`" in CYGWIN*) cygwin=true ;; esac if [ -f "$PWD/java" ] then JAVA=$PWD/java else if [ -f "$JAVA_HOME/bin/java" ] then JAVA=$JAVA_HOME/bin/java else echo JAVA_HOME is not set, unexpected results may occur. echo Set JAVA_HOME to the directory of your local Java installation to avoid this message. JAVA=java fi fi #JAVA 12 JAVA_OPTS="$JAVA_OPTS --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.desktop/java.beans=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED" export JAVA_OPTS for file in $DIRNAME/ready-api-license-manager-*.jar; do $JAVA $JAVA_OPTS -jar $file "$@" break doneSolved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.9KViews0likes6CommentsReadyAPI integration with maven
I am trying to use below POM file for readyapi (2.6.0) but not successful. can you please suggest what should be the repository id which I can use in settings.xml (.m2 directory). I need to set this in maven settings.xml to get remote repositories other than our own central repository. repository id I have used is:SmartBearPluginRepository example pom: https://support.smartbear.com/readyapi/docs/integrations/maven/example.html#pom error information: [ERROR] Plugin com.smartbear:ready-api-maven-plugin:2.6.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.smartbear:ready-api-maven-plugin:jar:2.6.0: Could not transfer artifact com.smartbear:ready-api-maven-plugin:pom:2.6.0 from/to SmartBearPluginRepository (http://smartbearsoftware.com/repository/maven2): Connection reset -> [Help 1] please let me know your suggestion or thoughts.Solved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes2CommentsWindows Authentication and APIKey
A REST request endpoint needs both windows user authentication and APIKEY token (one per environment). I have set username and password asBasic in authorization section (tried with and also without domain) and added APIKEY value as a Header parameter. I am getting404 - File or directory not found. Need your help on setting up authentication and authorization. Please let me know if anyone has idea on this. Thanks. FYI - Set project preferences as in the below screenshot: I am still looking for help/guidance on this. I have tried using NTLM authentication settings instead of Basic as the implementation isby usingSecurityProtocolType.Tls12 and defaultNetworkCredentials Followed steps listed at:https://www.soapui.org/oauth2/reference/ntlm.html thank you.2.1KViews0likes1CommentHow to avoid page resize with a blank section in the bottom when clicked on a button
Browser: IE11 OS: Windows 7 TestComplete: 11.10 Test Type: Functional Web testing. Able to find the Object but when try to perform some operations like,ScrollIntoView orclickthe page resizes with scroll buttons look different as show in the attachments. It is not happening when performed this operation manually. If anyone has an idea please let me know at your earliest. Note: Recently I am noticing this it wasn't an issue before. It happens with recorded actions by TestComplete. Button details: it happens only with this button and dev team says this button is same other buttons. <INPUT name=ctl00$btnEdit class=button id=ctl00_btnEdit onclick="this.disabled = true; this.value = 'Edit...'; ShowSpinner(true,'loading');__doPostBack('ctl00$btnEdit','')" type=button value=Edit>691Views0likes0Comments