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?