-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a new public servlet: Execution Data (by tag) #2204
Comments
1/ {
"priority": 1,
"priorityARA":"sanity-check",
} to {
"priority": {
"value": 1,
"gp1" : "sanity-check",
"gp2" : "toto"
}
} or {
"priority": 1,
"priority-gp1":"sanity-check",
} Then you can agree on which attribute to use and map the data accordingly. Also, stacktrace does not exist. Also executionId --> id Maybe we will also have to review some names to fit the last format used for testcase (for ex, I don't think we should put prefix to execution as this is all execution). {
"messageType": "OK",
"message": "Tag Statistics - Read was finished with success!",
"tagDurationInS": 65,
"tag": "Cerberus.20201104-035911",
"nbExe": 245,
"nbOK": 238,
"nbKO": 0,
"nbFA": 0,
"nbNA": 0,
"nbPE": 0,
"nbCA": 0,
"nbQU": 0,
"nbWE": 0,
"nbNE": 0,
"nbQE": 0,
"ciResult": "OK",
"dateCreated": "Nov 4, 2020 3:59:11 AM",
"dateEndQueue": "Nov 4, 2020 5:05:02 AM",
"executions": [
{
"priority": 1,
"priority-gp1":"sanity-check",
"testcaseDescription": "As a Cerberus Admin, I can read the User list",
"testcaseComment": "",
"testcaseStatus": "WORKING",
"manualExecution": false,
"test": "GUI : Administration",
"testcase": "0001A",
"environment": "QA",
"environment-gp1": "eupp5",
"country": "FR",
"country-gp1": "France",
"start": 1604458757000,
"end": 1604458776000,
"id": "274231",
"link": "https://prod.cerberus-testing.org/TestCaseExecution.jsp?executionId=274231",
"status": "OK",
"message": "The test case finished successfully - Failed to click because could not find element 'xpath=//*[contains(lower-case(@content-desc),"connexion")]'!",
"system": "US-vertigo17",
"application": "MyWebSite",
"robot": "MyRobot",
"robotDecli": "F65"
}
]
} Let's me know what you think about it. |
Hey, Ok to pass full invariants objects for countries, priorities and environment, but with Is it possible to get the stacktrace from the executionMessage? Ok for Ok for unit on duration for tag and execution Which ends up with:
Note that in V1 |
#2204, might need a slight code cleanliness check before closing the issue
I created a new Version of the servlet respecting more the Cerberus standard + adding a bit more data. |
I close the issue as part of 4.12 |
As dicussed together (@vertigo17 @MorganLmd), here is my proposal:
pattern selection for
priorityARA
,environmentARA
andcountryARA
Such invariants must have an attribute prefixed by
ara-
, this attribute value will be selected and returned in these fields.Example:
![image](https://user-images.githubusercontent.com/30227758/98918250-ad573000-24cd-11eb-8501-cfa2127c3971.png)
If none or more than one is defined, it should return
null
The text was updated successfully, but these errors were encountered: