Illegal character in query at index 47: /testcase?fields=feed/entry/content/testcase/(*|testplan[@href="-"]) error in rpe
Hi,
Am trying to configure RQM - RPE integration and i used the script for RQM testcase datasource,
var testPlanURL= _sessionInfo.getDatasourceProperty( "Test Plan", "URI", "-");
_sessionLogger.info( "XXX: " + testPlanURL); var pos = testPlanURL.indexOf( "/testplan/"); var baseURL = testPlanURL.substr( 0, pos); baseURL + "/testcase?fields=feed/entry/content/testcase/(*|testplan[@href=\"" + testPlanURL + "\"])";
but it is showing aborting engine: Illegal character in query at index 47: /testcase?fields=feed/entry/content/testcase/(*|testplan[@href="-"])
|
Accepted answer
That is because the value of var testPlanURL is "-" and hence the same is used for filtering in the request URL.
...?fields=feed/entry/content/testcase/(*|testplan[@href="-"])
Make sure that data_source_name is correct and if correct, confirm if URI is set for "Test Plan" data source.
var testPlanURL = _sessionInfo.getDatasourceProperty("data_source_name","property", "default_value");
sreenath v selected this answer as the correct answer
Comments
sreenath v
commented Oct 08 '18, 1:06 a.m.
How to get list of Test Plans in RPE
It is showing all Test plan in browser but in RPE blank document is coming
Subramanya Prasad Pilar
commented Oct 08 '18, 2:02 a.m.
Please try appending abbreviate=false to the data source URL
Still it is not workig . Am working on it.
|
One other answer
Can you please help to integrate RTC and RPE for getting all change set list with check in date?
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.