Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

How to fix 'scenario is mandatory' when running 'neoloadRun' from Jenkinsfile?

$
0
0

In the attached image, a 'service is mandatory' error occurs when running neoloadRun from the Neoload Jenkins Plugin in the Jenkinsfile. Below is the pipeline code in the Jenkinsfile:

pipeline {
agent any
stages {
stage('test') {
steps {
neoloadRun(scenarioName: 'scenario1', executable: '<absolute_path_to_NeoloadCmd>', sharedProjectServer: [uniqueID: '<a_unique_id>', url: 'http://localhost:9090', loginUser: 'admin', loginPassword: '<password>', label: ''], licenseServer: [uniqueID: '<a_unique_id>', url: 'http://localhost:9090', loginUser: 'admin', loginPassword: '<password>', label: '', collabPath: '/repository_1', licenseID: ''], displayGUI: true)
}
}

}
}

I would like to know why this happens, and how to fix it. Am I missing some parameters?


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>