Ask a Question

Readyapi property expansion not working in kafka Connection Settings options

sv
New Contributor

Readyapi property expansion not working in kafka Connection Settings options

I am running readyapi from command line and passing a properties file as an system option. The properties are successfully resolved in most of the cases (rest api endpoint, database connection), the only problem seems to be in the Kafka configuration, specifically in the "Connection Settings" tab.

The command executed is: "path\to\testrunner.bat" "-sTest Suite" "-cTest Case" -r -j -f${WORKSPACE} "-RJUnit-Style HTML Report" -FXML -EDEFAULT -Dsoapui.properties="properties.txt" path\to\readyapi-project.xml

I have tried to access the property with all the possible options provided here: https://support.smartbear.com/readyapi/docs/testing/properties/expansion.html#scopes.

Can you please advice on how can i dynamically pass the properties to the Kafka connection settings?

4 REPLIES 4
nmrao
Community Hero

Possible to show the screen shot of properties you are mentioning about?



Regards,
Rao.
sv
New Contributor

image_2022_10_26T12_07_46_415Z.png

 

The properties in this tab are not resolved, in the basic settings they get resolved.

Thanks for the reply!

nmrao
Community Hero

Thanks. Would it be possible to show Basic screen shot and sample properties from your property file as well?



Regards,
Rao.
sv
New Contributor

properties fileproperties filebasic screenshotbasic screenshot

 

Hello sorry for the late response, these are 2 screenshots from my properties file and basic tab.

Please note that we have tried to access the properties also by using the global notation (as stated in the initial description)

cancel
Showing results for 
Search instead for 
Did you mean: