SOAPUI and testrail integration - api

Can anyone help me with the Integration of SOAPUI and Testrail. If there is any Youtube or any other tutorials please share
After execution of testcases from soapui the status should get updated in testrail

https://discuss.gurock.com/t/how-to-log-into-testrail-api-with-soapui/10849
Can u try this??
Also Test rail api is exposed.. you can take the code and convert that code in to jar put in to soapui/bin/ext folder. Now u write a groovy code to use that library

You might want to have a look at (Agiletestware Firefly plugin for ReadyAPI (SoapUI Pro).
It integrates with ReadyAPI and upload test results (including HTTP/SOAP request and response) into TestRail for each run of your tests in ReadyAPI.
Here is the link to the documentation: https://www.agiletestware.com/docs/firefly-docs/en/latest/
Disclaimer: Agiletestware Firefly is a commercial product and I'm a developer of this product

Related

How I can make the URL of my summary report public to share in Karate framework [duplicate]

I'm trying to get reporting working for Karate DSL, and it's proven a challenge because my team uses Circle CI instead of Jenkins. Cucumber reporting seems to only work for Jenkins.
I've had a look at this documentation, here:
https://github.com/intuit/karate/tree/master/karate-demo#example-report
https://github.com/jenkinsci/cucumber-reports-plugin
I was wondering if there is a circle friendly equivalent you could recommend? It'd be even better if the reports could be generated in the terminal. It's going to be a hard sell to convince my team to change CI tools just so I can implement a test framework.
Thanks!
Here's what I suggest:
If you follow the demo / doc instructions - you will get the HTML reports in say target/cucumber-html-reports, and this is "pure Maven and Java", no dependency on CircleCI at all so far.
Now all you need to do is somehow make these HTML reports accessible via the web. In Jenkins, there is an HTML Publisher Plugin. I am not familiar with CircleCI but a quick search suggests that there is a way to expose links to build artifacts.
Also note that when you follow the demo, Java JUnit XML reports would also be output to target/cucumber-reports. It looks like CircleCI has support for these which means that it should be able to derive the build pass/fail status and stats if configured right.
Also note that Karate now enables you to write custom reports: https://stackoverflow.com/a/66773839/143475

Unable to integrate Cypress with testlink

Is there any way to integrate Cypress test cases with Testlink?
I think of a situation where when running the test, it created the suite test and the case test and updated the status of the testLink to for example passed (if cypress has run the entire test successfully)
Yes it's possible to integrate Cypress with Testlink Because Testlink has its own API and you would need to write your own plugin to integrate it though.
This is the path to the api: /lib/api/rest/v2 and Here are all the Rest endpoints: https://github.com/TestLinkOpenSourceTRMS/testlink-code/blob/testlink_1_9/lib/api/rest/v2/tlRestApi.class.php
then do a GET on http://localhost:3000/lib/api/rest/v2/whoAmI Good Luck

How to integrate TestRail with Jenkins?

I am trying to integrate TestRail with Jenkins where I want to run some test cases from test rail which calls the test cases in jenkins, and then writes the result back to TestRail itself, or something similar to this.
I know there is an API for this, but so far I am not able to figure out how to go ahead with this API.
Any suggestions would be of great help.
There is a Jenkins plugin maintained by the Jenkins team at GitHub:
Integrate test results from Jenkins into TestRail. Upload your junit
test results to TestRail after every run.
The plugin only allows to populate TestRail with the test results, but maybe you can start from there.
I too am attempting to integrate TestRail with our Jenkins installation. This blog post is pretty good: https://qxf2.com/blog/reporting-to-testrail-using-python/
You will need a way to map each Jenkins test to the appropriate TestRail test-case id, Ex: C123.
After the Jenkins run, reconcile the test results with the mapping and POST to the TestRail API with the test_run_id, test-case id, and the test result status_id as defined in TestRail.

Automation tests using Cucumber, SoapUI and Selenium

I'd like to use Cucumber linked with SoapUI and Selenium in order to create an automation functional test.
I only found one website about it, describing that first I have to create a SoapUI project and save it as a .xml file. Then I should include this file into the test project using Cucumber and Selenium.
My first question is what configuration do I have to do for that ? (in the pom.xml file when using Maven for example or in any configuration file for Jenkins)
My second and last question is : if I launch every night with Jenkins (let's say that as an example) my tests, do I have to launch first the SoapUI project and import it again in the test project to run my tests in a good way ?
Thanks for your answers
I think you can use REST Assured for you API testing.
Use cucumber for your BDD statement, use java for there step definition and REST Assured for all the API request stuff.
Wrap all your automation with well written Gherkin and you'll need no other documentation. Think about that. BDD (specification by example) is a requirements approach, not a testing approach.

Marking Test case status in Testopia

I had a requirement to mark the automated test cases in Testopia based on the results of the automated test cases. How can I do this? I had the testopia API code, but I am not able to find a solution for this.
The Testopia Plugin for Jenkins v1.1 is available now. This wiki explains how it works:
https://wiki.jenkins-ci.org/display/JENKINS/Testopia+Plugin
I used the perl example from the Testopia contrib directory. I called this from a shell script and this updates the status of the testcase.
Recently I got involved in a project to develop a plugin for Jenkins to do the same.
https://wiki.jenkins-ci.org/display/JENKINS/Testopia+Plugin