Forum Discussion
DLuks
15 years agoContributor
Well entitize values is already turned off, so I'm not sure that is helping.
Let me give you some more background info so you can help me:
I'm using a Rest method, with a Datasource, TestRequest, Datasource Loop in my TestCase.
The column in my Datasource is a filter query string for our SearchAPI and there can be multiple of these separated by ampersands.
Say I have property1 & property2 within my search index. A filter query can be achieved by doing ?q=blah&_property1=foo&_property2=foofoo
A filter query parameter is dynamic in name, but has an appended underscore to the front of it.
I would like my TestRequest to be able to insert the &_property1=foo&_property2=foofoo string onto the query part of my REST method.
Basically there is no predefined method parameter name (since they can be dynamic) and the string should be able to contain ampersands.
Is there a way to alter the outgoing URL during the TestRequest step? I could achieve this feature that way if there is...
Let me give you some more background info so you can help me:
I'm using a Rest method, with a Datasource, TestRequest, Datasource Loop in my TestCase.
The column in my Datasource is a filter query string for our SearchAPI and there can be multiple of these separated by ampersands.
Say I have property1 & property2 within my search index. A filter query can be achieved by doing ?q=blah&_property1=foo&_property2=foofoo
A filter query parameter is dynamic in name, but has an appended underscore to the front of it.
I would like my TestRequest to be able to insert the &_property1=foo&_property2=foofoo string onto the query part of my REST method.
Basically there is no predefined method parameter name (since they can be dynamic) and the string should be able to contain ampersands.
Is there a way to alter the outgoing URL during the TestRequest step? I could achieve this feature that way if there is...