Generated by TestNG with ReportNG at 22:18 PDT on Thursday 04 August 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.576s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-08-04 22:33:43 |

2022-08-04 22:33:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:43 | ------------------------------------

2022-08-04 22:33:43 | [Mutex] waiting for: [configured:node:node-df30daf9-6bde-485b-94f7-2623724504b8:node-f7797a37-ea16-4e1b-ac27-4d2e0e749e83]

2022-08-04 22:33:43 | [Mutex] received everything.

2022-08-04 22:33:43 | [Mutex] isItemNotified: configured:node:node-df30daf9-6bde-485b-94f7-2623724504b8:node-f7797a37-ea16-4e1b-ac27-4d2e0e749e83 :: true

2022-08-04 22:33:44 | [Mutex] waiting for: [received:nodes:3d55d147-ebe9-48a3-872e-ce123218d7c6:localhost]

2022-08-04 22:33:44 | [Mutex] received everything.

2022-08-04 22:33:44 | [Mutex] isItemNotified: received:node:3d55d147-ebe9-48a3-872e-ce123218d7c6:localhost:node-df30daf9-6bde-485b-94f7-2623724504b8:Node df30daf9-6bde-485b-94f7-2623724504b8 :: true

2022-08-04 22:33:44 | [Mutex] waiting for: [received:nodes:34e69d89-dd59-42e9-bcb6-bacc4817d25a:localhost]

2022-08-04 22:33:44 | [Mutex] received everything.

2022-08-04 22:33:44 | [Mutex] isItemNotified: received:node:34e69d89-dd59-42e9-bcb6-bacc4817d25a:localhost:node-df30daf9-6bde-485b-94f7-2623724504b8:Node df30daf9-6bde-485b-94f7-2623724504b8 :: false

createNodes 1.450s
2022-08-04 22:33:40 |

2022-08-04 22:33:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:40 | ------------------------------------

2022-08-04 22:33:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-df30daf9-6bde-485b-94f7-2623724504b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node df30daf9-6bde-485b-94f7-2623724504b8</title></pubsub></data>

2022-08-04 22:33:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 22:33:42 | [Mutex] waiting for: [received:nodes:35614fad-16ee-4aba-b384-e1baa53e2ba1:localhost]

2022-08-04 22:33:42 | [Mutex] waiting for: [received:nodes:35614fad-16ee-4aba-b384-e1baa53e2ba1:localhost]

2022-08-04 22:33:42 | [Mutex] received everything.

2022-08-04 22:33:42 | [Mutex] isItemNotified: received:node:35614fad-16ee-4aba-b384-e1baa53e2ba1:localhost:node-df30daf9-6bde-485b-94f7-2623724504b8:Node df30daf9-6bde-485b-94f7-2623724504b8 :: true

createSubnodes 1.024s
2022-08-04 22:33:42 |

2022-08-04 22:33:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:42 | ------------------------------------

2022-08-04 22:33:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f7797a37-ea16-4e1b-ac27-4d2e0e749e83</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f7797a37-ea16-4e1b-ac27-4d2e0e749e83</title></pubsub></data>

2022-08-04 22:33:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 22:33:43 | [Mutex] waiting for: [received:nodes:f011cf93-0f3c-4964-b83a-e505b0ad1491:localhost]

2022-08-04 22:33:43 | [Mutex] received everything.

2022-08-04 22:33:43 | [Mutex] isItemNotified: received:node:f011cf93-0f3c-4964-b83a-e505b0ad1491:localhost:node-f7797a37-ea16-4e1b-ac27-4d2e0e749e83:Node f7797a37-ea16-4e1b-ac27-4d2e0e749e83 :: true

deleteNodes 1.017s
2022-08-04 22:33:48 |

2022-08-04 22:33:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:48 | ------------------------------------

2022-08-04 22:33:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f7797a37-ea16-4e1b-ac27-4d2e0e749e83</node></data>

2022-08-04 22:33:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 22:33:49 | [Mutex] waiting for: [received:nodes:14a79f91-1bd5-4780-a87d-e7b32154383a:localhost]

2022-08-04 22:33:49 | [Mutex] received everything.

2022-08-04 22:33:49 | [Mutex] isItemNotified: received:node:14a79f91-1bd5-4780-a87d-e7b32154383a:localhost:node-f7797a37-ea16-4e1b-ac27-4d2e0e749e83:Node f7797a37-ea16-4e1b-ac27-4d2e0e749e83 :: false

deleteSubnodes 1.137s
2022-08-04 22:33:47 |

2022-08-04 22:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:47 | ------------------------------------

2022-08-04 22:33:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-df30daf9-6bde-485b-94f7-2623724504b8</node></data>

2022-08-04 22:33:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 22:33:48 | [Mutex] waiting for: [received:nodes:a252b6a4-b216-4140-811f-e10b87aeaef7:localhost]

2022-08-04 22:33:48 | [Mutex] received everything.

2022-08-04 22:33:48 | [Mutex] isItemNotified: received:node:a252b6a4-b216-4140-811f-e10b87aeaef7:localhost:node-df30daf9-6bde-485b-94f7-2623724504b8:Node df30daf9-6bde-485b-94f7-2623724504b8 :: false

2022-08-04 22:33:48 | [Mutex] waiting for: [received:nodes:0bfd0892-8e5c-46f6-8641-e027e7639eea:localhost]

2022-08-04 22:33:48 | [Mutex] received everything.

2022-08-04 22:33:48 | [Mutex] isItemNotified: received:node:0bfd0892-8e5c-46f6-8641-e027e7639eea:localhost:node-df30daf9-6bde-485b-94f7-2623724504b8:Node df30daf9-6bde-485b-94f7-2623724504b8 :: false

publishItemsToNodes 0.250s
2022-08-04 22:33:45 |

2022-08-04 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:45 | ------------------------------------

2022-08-04 22:33:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-df30daf9-6bde-485b-94f7-2623724504b8</node><item-id>item-af746835-3ae8-47b5-92f3-d50f7c194af9</item-id><entry><test>item-af746835-3ae8-47b5-92f3-d50f7c194af9</test></entry></data>

2022-08-04 22:33:45 | 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-af746835-3ae8-47b5-92f3-d50f7c194af9</value></item-id></result>

2022-08-04 22:33:45 | [Mutex] waiting for: [published:item:notifieditem-af746835-3ae8-47b5-92f3-d50f7c194af9:admin@test-domain.com]

2022-08-04 22:33:45 | [Mutex] received everything.

2022-08-04 22:33:45 | [Mutex] isItemNotified: published:item:notifieditem-af746835-3ae8-47b5-92f3-d50f7c194af9:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-08-04 22:33:45 |

2022-08-04 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:45 | ------------------------------------

2022-08-04 22:33:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-df30daf9-6bde-485b-94f7-2623724504b8</node><item-id>item-af746835-3ae8-47b5-92f3-d50f7c194af9</item-id></data>

2022-08-04 22:33:46 | 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-af746835-3ae8-47b5-92f3-d50f7c194af9</value></item-id></result>

2022-08-04 22:33:46 | [Mutex] received everything.

2022-08-04 22:33:46 | [Mutex] isItemNotified: retracted:item:notifieditem-af746835-3ae8-47b5-92f3-d50f7c194af9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.171s
2022-08-04 22:33:45 |

2022-08-04 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:45 | ------------------------------------

2022-08-04 22:33:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-df30daf9-6bde-485b-94f7-2623724504b8</node><item-id>item-af746835-3ae8-47b5-92f3-d50f7c194af9</item-id></data>

2022-08-04 22:33:45 | 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-df30daf9-6bde-485b-94f7-2623724504b8</value></node><item-id label="Item ID" type="text-single"><value>item-af746835-3ae8-47b5-92f3-d50f7c194af9</value></item-id><item label="Item" type="text-multi"><value><item id="item-af746835-3ae8-47b5-92f3-d50f7c194af9"><test>item-af746835-3ae8-47b5-92f3-d50f7c194af9</test></item></value></item></result>

2022-08-04 22:33:45 | [Mutex] notify: [retrieved:item:item-af746835-3ae8-47b5-92f3-d50f7c194af9:payload-matches:true:localhost]

2022-08-04 22:33:45 | [Mutex] received everything.

2022-08-04 22:33:45 | [Mutex] isItemNotified: retrieved:item:item-af746835-3ae8-47b5-92f3-d50f7c194af9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-08-04 22:33:45 |

2022-08-04 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:45 | ------------------------------------

2022-08-04 22:33:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-04 22:33:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-f7797a37-ea16-4e1b-ac27-4d2e0e749e83</value><value>test</value><value>node-df30daf9-6bde-485b-94f7-2623724504b8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-08-04 22:33:45 |

2022-08-04 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:45 | ------------------------------------

2022-08-04 22:33:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-df30daf9-6bde-485b-94f7-2623724504b8)</node-pattern></data>

2022-08-04 22:33:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.114s
2022-08-04 22:33:44 |

2022-08-04 22:33:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:44 | ------------------------------------

2022-08-04 22:33:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-df30daf9-6bde-485b-94f7-2623724504b8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-04 22:33:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.296s
2022-08-04 22:33:46 |

2022-08-04 22:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 22:33:46 | ------------------------------------

2022-08-04 22:33:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-df30daf9-6bde-485b-94f7-2623724504b8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-04 22:33:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>