I have been trying to find whether it is possible to access the MockService Custom Properties from maven/pom.xml when running a Mock Service.
I currently access the <projectProperties> as follows in the pom.xml;
<projectProperties> <projectProperty>testScriptPath=configuration/</projectProperty> <projectProperty>XLSConfigFile=TestSuite.xlsx</projectProperty> </projectProperties>
Is there anyway to access the mockService properties in a similar way? If so, I cannot find anything online which helps with the naming convention. If it followed a logical route it would be;
<mockServiceProperties> <mockServiceProperty>testScriptPath=configuration/</mockServiceProperty> <mockServiceProperty>XLSConfigFile=TestSuite260to265.xlsx</mockServiceProperty> </mockServiceProperties>
Or are these accessed via <projectProperties> ? Can you please let me know if this is possible or not ... or a simple workaround would be to convert to projectProperties? Is there another method?