AnuMohanCP 2700023V0K Visits (286)
Have you ever run into a problem with Rational Quality Manager (RQM) where the Excel Import fails with the following error? An invalid XML character (Unicode: 0x1d) was found in the element
Well, if not, consider yourself lucky! Here are a few ways you could run into this error and a potentially way to overcome it.
Here's how you can run into this problem:
Perform a excel import from your Excel Sheet and you notice "ERR
Consider taking a closer look a the debug logs and you might find:
Export error log:
11/13/2015 5:40:54 AM: ERROR: <Unknown Caller Context>: The remote server returned an error: (400) Bad Request.
Debug log file:
Log file location : C:
11/17/2015 11:58:05 AM: sending testscript0 named US40
Here's why this could be happening:
The error recorded here attributed to a Invalid Character inline with the plain text failing to get exported.
Here's how you can find the character:
1.Export the Excel to XML (use Export to File option).
Now fix the problem!
1.Copy the Excel Cell contents to a text editor and retype the erroneous text again and paste it back to the Excel cell.
AnuMohanCP 2700023V0K Visits (328)
You might be familiar with Rational Quality Manager (RQM) REST API's to query your artifacts. The RQM Reportable REST API allows a user to perform CRUD type operations on test resources via XML sequences to the RQM server. This article describes about how to manipulate resources like (test case, test execution record, test results, etc..) in RQM using REST API
I can help you! There are Cheat Sheets available for a few RQM REST URL's, but not specifically for this query. You are looking for help with constructing a REST URL for this query.
Below you'll find a Sample REST URL to perform the GET operation to query Testcase execution Record (TCER) filtered for a specific Testcase.
Choose to use the following URL. which has been tested and working
This gives the TCER's filtered using a Testcase ID from REST Client.
I hope you find this helpful!
AnuMohanCP 2700023V0K Visits (309)
CFG files are used to import data into Rational Quality Manager. The file must be in a specific format for the import to work properly. Here is a sample CFG file created for associating a Single Testplan to Multiple Testcases. Also, each Testcase is associated with multiple Testscripts, which will allow you to use with IBM Rational Quality Manager (RQM) Excel Import utility.
// this configuration file will create a single test case from the defined cells and link to all
// since we aren't defining an ID to use, the tool will create one based on the excel worksheet
// We want to start looking for scripts after row 8
// the literal "execution" will be put into the step type tag, so all steps will be of type execution
// a new script starts when we encounter an empty row
// we want to use the data we got for each test script to create a test case
// test case defined with definite cell locations
//Config for Testplan
Rajeshavanthi 2700022MCX Visits (531)
Imagine a scenario where the Loadrunner (LR) scripts are imported successfully into IBM Rational Quality Manager (RQM) and you want to execute these imported scripts.
Unfortunately, when you attempt to execute these LR scripts from within RQM section, you encounter the following error:
The adapter log present in location <Loadrunner Adapter installation path
22 Sep 2015 02:30:45,366 [AWT-EventQueue-0] INFO com.
Proposed suggestions to Debug this scenario:
Modify the log4j.xml file located at “<HP LR Adapter installation dir>
<priority value =" debug " />
<appender-ref ref="stdout" />
<appender-ref ref="FA" />
Log level should be changed to “debug”.
After changing the log4j.xml file, re run the LR scenario ,stop the adapter and share the log files located at “<HP LR Adapter installation dir>
If LR Scenario has custom result settings as mentioned in below steps then Adapter may not be unable to find the Result Folder to upload it to RQM test case result area.
Follow below steps:
1. Open the LR Scenario in the LR Controller.
2. Go to Menu option Results -> Result Settings
3. A dialog to set the result directory will be opened.
4. Check the option : “Automatically create a result directory for each scenario execution “.
5. Execute the LR Scenario via RQM Test Case.
You may now run scenario after unchecking the “Automatically create a result directory for each scenario execution” option in Result Setting dialog and observe the result.zip in RQM Result section.
Kiran Byrappa 270001YMWT Visits (946)
You may come across situation where you do not want a user in your Project Area to view data in a particular stream.