This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages { | |
stage('Get properties file from user and send to slave workspace') { | |
steps { | |
node('master') { | |
script{ | |
// Get file using input step, will put it in build directory | |
print "=================Please upload your property files =====================" | |
def inputFile = input message: 'Upload file', parameters: [file(name: 'global.properties')] | |
// Read contents and write to workspace | |
writeFile(file: 'global.properties', text: inputFile.readToString()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent { | |
label 'qatest' | |
} | |
tools { | |
maven 'Maven' | |
jdk 'JDK8' | |
} | |
environment { | |
VIRTUOSO_URL = 'qa.myapp.com' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent { | |
label 'qatest' | |
} | |
environment { | |
QA_SERVER = 'https://qa.application.com/' | |
CT_SERVER = 'http://ct.application.com/' | |
} | |
stages { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;") | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library SeleniumLibrary | |
Test Setup Open Browser And Go To Page | |
Test Teardown Close Browser | |
*** Variables *** | |
${FORM_URL} https://www.google.com/ | |
${BROWSER} headlesschrome | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-07-04 18:18:32,213 ERROR o.a.j.e.j.j.JSONPostProcessor: Number of JSON Path variables must match number of default values and json-path expressions, check you use separator ';' if you have many values | |
2019-07-04 18:18:32,217 ERROR o.a.j.t.JMeterThread: Error while processing sampler: '6005 /veip-web/connector/contexts'. | |
java.lang.IllegalArgumentException: Mismatch between number of variables, json expressions and default values | |
at org.apache.jmeter.extractor.json.jsonpath.JSONPostProcessor.process(JSONPostProcessor.java:93) ~[ApacheJMeter_components.jar:4.0 r1823414] | |
at com.blazemeter.jmeter.debugger.elements.PostProcessorDebug.process(PostProcessorDebug.java:12) ~[jmeter-debugger-0.6.jar:?] | |
at org.apache.jmeter.threads.JMeterThread.runPostProcessors(JMeterThread.java:839) ~[ApacheJMeter_core.jar:4.0 r1823414] | |
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:516) ~[ApacheJMeter_core.jar:4.0 r1823414] | |
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThrea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Click Element Using JavaScript Xpath ${xpath} | |
[Documentation] | |
... Click element using javascript while passing location using xpath | |
Execute JavaScript document.evaluate('${xpath}',document.body,null,9,null).singleNodeValue.click(); | |
Click Element Using JavaScript Id ${ID} | |
[Documentation] | |
... Click element using javascript while passing location using id | |
Execute JavaScript document.getElementById('${ID}').click() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +gvasanka is my blockchain ID. https://onename.com/gvasanka |