It's all about the answers!

Ask a question

Illegal character in query at index 47: /testcase?fields=feed/entry/content/testcase/(*|testplan[@href="-"]) error in rpe


sreenath v (78680) | asked Oct 03 '18, 12:53 a.m.
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


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Oct 03 '18, 2:25 a.m.
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


sreenath v commented Oct 08 '18, 4:48 a.m. | edited Oct 08 '18, 5:34 a.m.

Still it is not workig . Am working on it.

One other answer



permanent link
sreenath v (78680) | answered Oct 09 '18, 8:20 a.m.

Can you please help to integrate RTC and RPE for getting all change set list with check in date?

Your answer


Register or to post 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.