Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 24 March 2021
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.403s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2021-03-24 22:29:45 |

2021-03-24 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:45 | ------------------------------------

2021-03-24 22:29:45 | [Mutex] waiting for: [configured:node:node-a50b00db-6d95-4682-84c4-7ca0a7813b4c:node-160b577e-4210-4fee-8f27-9d501d5a8210]

2021-03-24 22:29:45 | [Mutex] received everything.

2021-03-24 22:29:45 | [Mutex] isItemNotified: configured:node:node-a50b00db-6d95-4682-84c4-7ca0a7813b4c:node-160b577e-4210-4fee-8f27-9d501d5a8210 :: true

2021-03-24 22:29:46 | [Mutex] waiting for: [received:nodes:71915873-e4dc-43b5-9220-a4c3d1b3e0e1:localhost]

2021-03-24 22:29:46 | [Mutex] received everything.

2021-03-24 22:29:46 | [Mutex] isItemNotified: received:node:71915873-e4dc-43b5-9220-a4c3d1b3e0e1:localhost:node-a50b00db-6d95-4682-84c4-7ca0a7813b4c:Node a50b00db-6d95-4682-84c4-7ca0a7813b4c :: true

2021-03-24 22:29:46 | [Mutex] waiting for: [received:nodes:6bb07d65-883a-47ae-adf7-ac0ba2f4391e:localhost]

2021-03-24 22:29:46 | [Mutex] waiting for: [received:nodes:6bb07d65-883a-47ae-adf7-ac0ba2f4391e:localhost]

2021-03-24 22:29:46 | [Mutex] received everything.

2021-03-24 22:29:46 | [Mutex] isItemNotified: received:node:6bb07d65-883a-47ae-adf7-ac0ba2f4391e:localhost:node-a50b00db-6d95-4682-84c4-7ca0a7813b4c:Node a50b00db-6d95-4682-84c4-7ca0a7813b4c :: false

createNodes 1.545s
2021-03-24 22:29:43 |

2021-03-24 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:43 | ------------------------------------

2021-03-24 22:29:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a50b00db-6d95-4682-84c4-7ca0a7813b4c</title></pubsub></data>

2021-03-24 22:29:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:29:44 | [Mutex] waiting for: [received:nodes:ac8624f3-4674-43e7-9272-4b831624f254:localhost]

2021-03-24 22:29:44 | [Mutex] waiting for: [received:nodes:ac8624f3-4674-43e7-9272-4b831624f254:localhost]

2021-03-24 22:29:44 | [Mutex] received everything.

2021-03-24 22:29:44 | [Mutex] isItemNotified: received:node:ac8624f3-4674-43e7-9272-4b831624f254:localhost:node-a50b00db-6d95-4682-84c4-7ca0a7813b4c:Node a50b00db-6d95-4682-84c4-7ca0a7813b4c :: true

createSubnodes 1.031s
2021-03-24 22:29:44 |

2021-03-24 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:44 | ------------------------------------

2021-03-24 22:29:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-160b577e-4210-4fee-8f27-9d501d5a8210</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 160b577e-4210-4fee-8f27-9d501d5a8210</title></pubsub></data>

2021-03-24 22:29:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:29:45 | [Mutex] waiting for: [received:nodes:94b2486b-1e3b-46fa-8b15-47f20ebd9319:localhost]

2021-03-24 22:29:45 | [Mutex] received everything.

2021-03-24 22:29:45 | [Mutex] isItemNotified: received:node:94b2486b-1e3b-46fa-8b15-47f20ebd9319:localhost:node-160b577e-4210-4fee-8f27-9d501d5a8210:Node 160b577e-4210-4fee-8f27-9d501d5a8210 :: true

deleteNodes 1.020s
2021-03-24 22:29:51 |

2021-03-24 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:51 | ------------------------------------

2021-03-24 22:29:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-160b577e-4210-4fee-8f27-9d501d5a8210</node></data>

2021-03-24 22:29:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:29:52 | [Mutex] waiting for: [received:nodes:5f262459-87df-4c7d-b6ef-89f040fc3c63:localhost]

2021-03-24 22:29:52 | [Mutex] received everything.

2021-03-24 22:29:52 | [Mutex] isItemNotified: received:node:5f262459-87df-4c7d-b6ef-89f040fc3c63:localhost:node-160b577e-4210-4fee-8f27-9d501d5a8210:Node 160b577e-4210-4fee-8f27-9d501d5a8210 :: false

deleteSubnodes 1.181s
2021-03-24 22:29:50 |

2021-03-24 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:50 | ------------------------------------

2021-03-24 22:29:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</node></data>

2021-03-24 22:29:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:29:51 | [Mutex] waiting for: [received:nodes:12af54bc-f1e1-4169-ae96-c202dde830f4:localhost]

2021-03-24 22:29:51 | [Mutex] received everything.

2021-03-24 22:29:51 | [Mutex] isItemNotified: received:node:12af54bc-f1e1-4169-ae96-c202dde830f4:localhost:node-a50b00db-6d95-4682-84c4-7ca0a7813b4c:Node a50b00db-6d95-4682-84c4-7ca0a7813b4c :: false

2021-03-24 22:29:51 | [Mutex] waiting for: [received:nodes:e8d688ca-9aac-40b3-849f-93608b556de8:localhost]

2021-03-24 22:29:51 | [Mutex] received everything.

2021-03-24 22:29:51 | [Mutex] isItemNotified: received:node:e8d688ca-9aac-40b3-849f-93608b556de8:localhost:node-a50b00db-6d95-4682-84c4-7ca0a7813b4c:Node a50b00db-6d95-4682-84c4-7ca0a7813b4c :: false

publishItemsToNodes 0.282s
2021-03-24 22:29:47 |

2021-03-24 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:47 | ------------------------------------

2021-03-24 22:29:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</node><item-id>item-164e3950-ad56-409a-8aad-26a3114abe55</item-id><entry><test>item-164e3950-ad56-409a-8aad-26a3114abe55</test></entry></data>

2021-03-24 22:29:48 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-164e3950-ad56-409a-8aad-26a3114abe55</value></item-id></result>

2021-03-24 22:29:48 | [Mutex] received everything.

2021-03-24 22:29:48 | [Mutex] isItemNotified: published:item:notifieditem-164e3950-ad56-409a-8aad-26a3114abe55:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2021-03-24 22:29:48 |

2021-03-24 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:48 | ------------------------------------

2021-03-24 22:29:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</node><item-id>item-164e3950-ad56-409a-8aad-26a3114abe55</item-id></data>

2021-03-24 22:29:48 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-164e3950-ad56-409a-8aad-26a3114abe55</value></item-id></result>

2021-03-24 22:29:48 | [Mutex] received everything.

2021-03-24 22:29:48 | [Mutex] isItemNotified: retracted:item:notifieditem-164e3950-ad56-409a-8aad-26a3114abe55:admin@test-domain.com :: true

retrieveItemsFromNodes 0.292s
2021-03-24 22:29:48 |

2021-03-24 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:48 | ------------------------------------

2021-03-24 22:29:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</node><item-id>item-164e3950-ad56-409a-8aad-26a3114abe55</item-id></data>

2021-03-24 22:29:48 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</value></node><item-id label="Item ID" type="text-single"><value>item-164e3950-ad56-409a-8aad-26a3114abe55</value></item-id><item label="Item" type="text-multi"><value><item id="item-164e3950-ad56-409a-8aad-26a3114abe55"><test>item-164e3950-ad56-409a-8aad-26a3114abe55</test></item></value></item></result>

2021-03-24 22:29:48 | [Mutex] notify: [retrieved:item:item-164e3950-ad56-409a-8aad-26a3114abe55:payload-matches:true:localhost]

2021-03-24 22:29:48 | [Mutex] received everything.

2021-03-24 22:29:48 | [Mutex] isItemNotified: retrieved:item:item-164e3950-ad56-409a-8aad-26a3114abe55:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-03-24 22:29:48 |

2021-03-24 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:48 | ------------------------------------

2021-03-24 22:29:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-24 22:29:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</value><value>node-160b577e-4210-4fee-8f27-9d501d5a8210</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.066s
2021-03-24 22:29:48 |

2021-03-24 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:48 | ------------------------------------

2021-03-24 22:29:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a50b00db-6d95-4682-84c4-7ca0a7813b4c)</node-pattern></data>

2021-03-24 22:29:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.178s
2021-03-24 22:29:46 |

2021-03-24 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:46 | ------------------------------------

2021-03-24 22:29:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-24 22:29:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.391s
2021-03-24 22:29:48 |

2021-03-24 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:29:48 | ------------------------------------

2021-03-24 22:29:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a50b00db-6d95-4682-84c4-7ca0a7813b4c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-24 22:29:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>