I need to integrate junit-report results back to x-ray jira based on the ticket number on jira - tags

I'm trying to generate a custom XML report for my cypress tests so they can map directly to a specific issue type in Xray for Jira upon import. I've read through a lot of the documentation on reporters and I've set up the configuration to generate XML files for tests/test runs so currently I can generate a combined report of my whole test suite, but when I import the file into Xray it creates new issuekeys. I already have created the test cases in Xray and I want my XML file to contain specific information on which cypress test should go to each Xray test case. Does anyone have advice or know how to do this?

Related

Extract project and Report level metadata from obiee12c

As we have below command to extract all the projects/reports from obiee12c analytics
exportServiceInstance( '/oraclehome/user_projects/domains/bi','mycompany.facility', '/workDir', '/scratch/exportDir')
This command provided extracts all metadata information of every projects and folders and report present in analytics as a archived bar file.Is there any other way were I can get metadata information of particular report or project which I need and not all the projects as a bar file or any?
OBIEE comes with several client tool with the "Catalog Manager" being the admin tool of choice for handling catalog-related tasks like yours. It exists as a GU and a command line both so you can also automate/script repetitive tasks like reporting on your reporting objects.
Have a look at the official documentation as it's too much text to just post into an answer here and you may come across things you want or need in there which go beyond your initial question here:
https://docs.oracle.com/middleware/12211/biee/BIESG/GUID-E804B1AF-B792-4929-BE47-33CA0F668715.htm#BIESG340
I you only need the reports you can export your reports folder directly from the catalog in OBI web interface or using "Catalog Manager" as suggested by #Chris.
For the repository you can connect Online to your server then from file -> Copy As
Note : exporting the service instance is used for environment migration, it's easier to move all what you need with one bar file (for example having DEV PROD environments).

Automate the process of sending Postman Requests and save the responses in a file

I want to automate the process of sending get requests to an API and save the responses in a JSON file. I have researched a lot online and haven't found anything. I have created a collection and run it, but how do I automate it.
When you have your tests collection built in Postman, you shall run it with newman (see useful options here, this link helped me a lot !).
If your collection can be run with Postman runner, it should work perfectly. I haven't tried to generate reports in JSON but it works fine for HTML and JUnit style reports ... and you can set a specific reporting parameter to have results set in a JSON file.

TeamCity: How to show Nunit3 file attachments in TeamCity test results?

NUnit3 recently added a functionality to add attachments to test results using TestContext.AddTestAttachment(). This adds a url\filelink of the file in results. I can see the entry in Test Result XML generated by console runner.
But I do not see the attachment link on Teamcity. How can I force teamcity to display the file links added as attachment.
To my knowledge, TeamCity haven't yet implemented any functionality to display test attachments.
You should make a feature request for that, here. You could add to your case by pointing out that VSTS does display these file attachments. ;-)

how to create and maintain a soap UI automation framework

I am new to SoapUI and working on my first project. So far I have managed to automate it as far as possible by creating as follows:
groovy script for data transfer
running test suite using testrunner.bat
storing the results dynamically using timestamp
integrated it with ant and jenkins for html report generation.
My question here is for every new wsdl I have to create a new test suite copy(insert) the existing groovy script again and then prepare the test data again accordingly and then finally change the xml name in bat and then execute.
Can i have a deeper approach than this on maintaining a reusable structure rather than performing the same steps again. Is there any other approach to call it a proper framework like testing in selenium?

Running Reporting Services against a test database

What's the best way to setup SSRS reports to run against a test database? We need to run them from the Report Server (e.g. from a browser) against a test database. I tried creating a linked report but I don't see a way to associate a different data connection with the linked report.
Thanks.
I usually create a second copy of reports in a Test folder on the SSRS server. This lets consumers test report changes before they affect production.
But if you really want one version of the report to point at both production and test you can get clever with data sources. Here's a blog entry discussing dynamically changing your datasource based on a parameter.
http://skamie.wordpress.com/2010/12/17/ssrs-changing-data-source-dynamically/
Then you'll need to either expose the parameter or call the report in some way where you can set the hidden parameter.
Create a new folder in the Report Manager and upload the exact same report to that new folder.
If needed, you can also hide this folder so only testing people can access the URL directly.
Create a new data source that points to your test database and change the data source of the new report to use the test data source.
That way you can leave your production report intact.
Go to Properties > Data Sources and point the datasource to your test database