Generated by TestNG with ReportNG at 22:19 PDT on Friday 12 August 2022
root@ed1b7dd8a1b3 / 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.549s

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

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

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

2022-08-12 22:33:04 | [Mutex] waiting for: [configured:node:node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0:node-fcda4b66-d847-40f0-9af6-6982a0566db1]

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

2022-08-12 22:33:04 | [Mutex] isItemNotified: configured:node:node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0:node-fcda4b66-d847-40f0-9af6-6982a0566db1 :: true

2022-08-12 22:33:05 | [Mutex] waiting for: [received:nodes:24dbe42f-7a74-43c0-bf4b-a658d7621c0d:localhost]

2022-08-12 22:33:05 | [Mutex] received everything.

2022-08-12 22:33:05 | [Mutex] isItemNotified: received:node:24dbe42f-7a74-43c0-bf4b-a658d7621c0d:localhost:node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0:Node d2cdb21d-7b08-47f4-b826-d935c61bcfe0 :: true

2022-08-12 22:33:05 | [Mutex] waiting for: [received:nodes:67cf608f-3b18-4d74-9d06-e6952274d4a3:localhost]

2022-08-12 22:33:05 | [Mutex] waiting for: [received:nodes:67cf608f-3b18-4d74-9d06-e6952274d4a3:localhost]

2022-08-12 22:33:05 | [Mutex] received everything.

2022-08-12 22:33:05 | [Mutex] isItemNotified: received:node:67cf608f-3b18-4d74-9d06-e6952274d4a3:localhost:node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0:Node d2cdb21d-7b08-47f4-b826-d935c61bcfe0 :: false

createNodes 1.472s
2022-08-12 22:33:01 |

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

2022-08-12 22:33:01 | ------------------------------------

2022-08-12 22:33:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d2cdb21d-7b08-47f4-b826-d935c61bcfe0</title></pubsub></data>

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

2022-08-12 22:33:03 | [Mutex] waiting for: [received:nodes:5861ce77-fb5d-4416-b6a1-6b7a669b59da:localhost]

2022-08-12 22:33:03 | [Mutex] received everything.

2022-08-12 22:33:03 | [Mutex] isItemNotified: received:node:5861ce77-fb5d-4416-b6a1-6b7a669b59da:localhost:node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0:Node d2cdb21d-7b08-47f4-b826-d935c61bcfe0 :: true

createSubnodes 1.029s
2022-08-12 22:33:03 |

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

2022-08-12 22:33:03 | ------------------------------------

2022-08-12 22:33:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fcda4b66-d847-40f0-9af6-6982a0566db1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fcda4b66-d847-40f0-9af6-6982a0566db1</title></pubsub></data>

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

2022-08-12 22:33:04 | [Mutex] waiting for: [received:nodes:a00d05ed-9869-47d4-bdd4-734f60b648c7:localhost]

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

2022-08-12 22:33:04 | [Mutex] isItemNotified: received:node:a00d05ed-9869-47d4-bdd4-734f60b648c7:localhost:node-fcda4b66-d847-40f0-9af6-6982a0566db1:Node fcda4b66-d847-40f0-9af6-6982a0566db1 :: true

deleteNodes 1.017s
2022-08-12 22:33:09 |

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

2022-08-12 22:33:09 | ------------------------------------

2022-08-12 22:33:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fcda4b66-d847-40f0-9af6-6982a0566db1</node></data>

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

2022-08-12 22:33:10 | [Mutex] waiting for: [received:nodes:702801ab-09cb-4dd5-bde8-4cc131b9598f:localhost]

2022-08-12 22:33:10 | [Mutex] waiting for: [received:nodes:702801ab-09cb-4dd5-bde8-4cc131b9598f:localhost]

2022-08-12 22:33:10 | [Mutex] waiting for: [received:nodes:702801ab-09cb-4dd5-bde8-4cc131b9598f:localhost]

2022-08-12 22:33:10 | [Mutex] received everything.

2022-08-12 22:33:10 | [Mutex] isItemNotified: received:node:702801ab-09cb-4dd5-bde8-4cc131b9598f:localhost:node-fcda4b66-d847-40f0-9af6-6982a0566db1:Node fcda4b66-d847-40f0-9af6-6982a0566db1 :: false

deleteSubnodes 1.131s
2022-08-12 22:33:08 |

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

2022-08-12 22:33:08 | ------------------------------------

2022-08-12 22:33:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</node></data>

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

2022-08-12 22:33:09 | [Mutex] waiting for: [received:nodes:f6995f73-e1d4-448d-9a00-3743780bb8c6:localhost]

2022-08-12 22:33:09 | [Mutex] waiting for: [received:nodes:f6995f73-e1d4-448d-9a00-3743780bb8c6:localhost]

2022-08-12 22:33:09 | [Mutex] received everything.

2022-08-12 22:33:09 | [Mutex] isItemNotified: received:node:f6995f73-e1d4-448d-9a00-3743780bb8c6:localhost:node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0:Node d2cdb21d-7b08-47f4-b826-d935c61bcfe0 :: false

2022-08-12 22:33:09 | [Mutex] waiting for: [received:nodes:2c6af71e-9e5c-4d1b-bc9d-bb660a807740:localhost]

2022-08-12 22:33:09 | [Mutex] received everything.

2022-08-12 22:33:09 | [Mutex] isItemNotified: received:node:2c6af71e-9e5c-4d1b-bc9d-bb660a807740:localhost:node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0:Node d2cdb21d-7b08-47f4-b826-d935c61bcfe0 :: false

publishItemsToNodes 0.219s
2022-08-12 22:33:06 |

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

2022-08-12 22:33:06 | ------------------------------------

2022-08-12 22:33:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</node><item-id>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</item-id><entry><test>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</test></entry></data>

2022-08-12 22:33:06 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</value></item-id></result>

2022-08-12 22:33:06 | [Mutex] received everything.

2022-08-12 22:33:06 | [Mutex] isItemNotified: published:item:notifieditem-6d1d4e63-205b-4fd6-ba15-2854808391cb:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-08-12 22:33:06 |

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

2022-08-12 22:33:06 | ------------------------------------

2022-08-12 22:33:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</node><item-id>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</item-id></data>

2022-08-12 22:33:07 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</value></item-id></result>

2022-08-12 22:33:07 | [Mutex] waiting for: [retracted:item:notifieditem-6d1d4e63-205b-4fd6-ba15-2854808391cb:admin@test-domain.com]

2022-08-12 22:33:07 | [Mutex] received everything.

2022-08-12 22:33:07 | [Mutex] isItemNotified: retracted:item:notifieditem-6d1d4e63-205b-4fd6-ba15-2854808391cb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2022-08-12 22:33:06 |

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

2022-08-12 22:33:06 | ------------------------------------

2022-08-12 22:33:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</node><item-id>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</item-id></data>

2022-08-12 22:33:06 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</value></node><item-id type="text-single" label="Item ID"><value>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</value></item-id><item type="text-multi" label="Item"><value><item id="item-6d1d4e63-205b-4fd6-ba15-2854808391cb"><test>item-6d1d4e63-205b-4fd6-ba15-2854808391cb</test></item></value></item></result>

2022-08-12 22:33:06 | [Mutex] notify: [retrieved:item:item-6d1d4e63-205b-4fd6-ba15-2854808391cb:payload-matches:true:localhost]

2022-08-12 22:33:06 | [Mutex] received everything.

2022-08-12 22:33:06 | [Mutex] isItemNotified: retrieved:item:item-6d1d4e63-205b-4fd6-ba15-2854808391cb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-12 22:33:06 |

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

2022-08-12 22:33:06 | ------------------------------------

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

2022-08-12 22:33:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-fcda4b66-d847-40f0-9af6-6982a0566db1</value><value>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-12 22:33:06 |

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

2022-08-12 22:33:06 | ------------------------------------

2022-08-12 22:33:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0)</node-pattern></data>

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

subscribeNodes 1.115s
2022-08-12 22:33:05 |

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

2022-08-12 22:33:05 | ------------------------------------

2022-08-12 22:33:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.223s
2022-08-12 22:33:07 |

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

2022-08-12 22:33:07 | ------------------------------------

2022-08-12 22:33:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d2cdb21d-7b08-47f4-b826-d935c61bcfe0</node><jids><value>admin@test-domain.com</value></jids></data>

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