Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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="-"])


0 votes


Accepted answer

Permanent link
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

0 votes

Comments
How to get list of Test Plans in RPE



It is showing all Test plan in browser but in RPE blank document is coming

Please try appending abbreviate=false to the data source URL

Still it is not workig . Am working on it.


One other answer

Permanent link

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,124

Question asked: Oct 03 '18, 12:53 a.m.

Question was seen: 2,098 times

Last updated: Oct 09 '18, 8:20 a.m.

Confirmation Cancel Confirm