Generated by TestNG with ReportNG at 22:00 PST on Monday 21 February 2022
root@b2c2a8eba6e6 / 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.019s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.037s
2022-02-21 22:17:35 |

2022-02-21 22:17:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:35 | ------------------------------------

2022-02-21 22:17:35 | [Mutex] waiting for: [configured:node:node-576edb55-7cce-4156-adde-6850e38adf93:node-84b8c1a7-87e2-4f87-b059-8ac201143065]

2022-02-21 22:17:35 | [Mutex] received everything.

2022-02-21 22:17:35 | [Mutex] isItemNotified: configured:node:node-576edb55-7cce-4156-adde-6850e38adf93:node-84b8c1a7-87e2-4f87-b059-8ac201143065 :: true

2022-02-21 22:17:36 | [Mutex] waiting for: [received:nodes:779c7bdd-ec04-4974-9c27-43ab779a0e2a:localhost]

2022-02-21 22:17:36 | [Mutex] received everything.

2022-02-21 22:17:36 | [Mutex] isItemNotified: received:node:779c7bdd-ec04-4974-9c27-43ab779a0e2a:localhost:node-576edb55-7cce-4156-adde-6850e38adf93:Node 576edb55-7cce-4156-adde-6850e38adf93 :: true

2022-02-21 22:17:36 | [Mutex] waiting for: [received:nodes:c695b7dc-cd7e-4d4b-992d-41021325dc9b:localhost]

2022-02-21 22:17:36 | [Mutex] waiting for: [received:nodes:c695b7dc-cd7e-4d4b-992d-41021325dc9b:localhost]

2022-02-21 22:17:36 | [Mutex] waiting for: [received:nodes:c695b7dc-cd7e-4d4b-992d-41021325dc9b:localhost]

2022-02-21 22:17:36 | [Mutex] received everything.

2022-02-21 22:17:36 | [Mutex] isItemNotified: received:node:c695b7dc-cd7e-4d4b-992d-41021325dc9b:localhost:node-576edb55-7cce-4156-adde-6850e38adf93:Node 576edb55-7cce-4156-adde-6850e38adf93 :: false

createNodes 1.487s
2022-02-21 22:17:32 |

2022-02-21 22:17:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:32 | ------------------------------------

2022-02-21 22:17:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-576edb55-7cce-4156-adde-6850e38adf93</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 576edb55-7cce-4156-adde-6850e38adf93</title></pubsub></data>

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

2022-02-21 22:17:34 | [Mutex] waiting for: [received:nodes:8e9bbf3a-a09e-4181-a75c-47fb4f73017f:localhost]

2022-02-21 22:17:34 | [Mutex] received everything.

2022-02-21 22:17:34 | [Mutex] isItemNotified: received:node:8e9bbf3a-a09e-4181-a75c-47fb4f73017f:localhost:node-576edb55-7cce-4156-adde-6850e38adf93:Node 576edb55-7cce-4156-adde-6850e38adf93 :: true

createSubnodes 1.040s
2022-02-21 22:17:34 |

2022-02-21 22:17:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:34 | ------------------------------------

2022-02-21 22:17:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-84b8c1a7-87e2-4f87-b059-8ac201143065</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 84b8c1a7-87e2-4f87-b059-8ac201143065</title></pubsub></data>

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

2022-02-21 22:17:35 | [Mutex] waiting for: [received:nodes:751ec0d8-e008-4034-b0f5-d8aeaf800c63:localhost]

2022-02-21 22:17:35 | [Mutex] received everything.

2022-02-21 22:17:35 | [Mutex] isItemNotified: received:node:751ec0d8-e008-4034-b0f5-d8aeaf800c63:localhost:node-84b8c1a7-87e2-4f87-b059-8ac201143065:Node 84b8c1a7-87e2-4f87-b059-8ac201143065 :: true

deleteNodes 1.027s
2022-02-21 22:17:40 |

2022-02-21 22:17:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:40 | ------------------------------------

2022-02-21 22:17:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-84b8c1a7-87e2-4f87-b059-8ac201143065</node></data>

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

2022-02-21 22:17:41 | [Mutex] waiting for: [received:nodes:f8b9d59b-dd3f-4c4e-8e70-08532edec6b4:localhost]

2022-02-21 22:17:41 | [Mutex] received everything.

2022-02-21 22:17:41 | [Mutex] isItemNotified: received:node:f8b9d59b-dd3f-4c4e-8e70-08532edec6b4:localhost:node-84b8c1a7-87e2-4f87-b059-8ac201143065:Node 84b8c1a7-87e2-4f87-b059-8ac201143065 :: false

deleteSubnodes 1.149s
2022-02-21 22:17:39 |

2022-02-21 22:17:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:39 | ------------------------------------

2022-02-21 22:17:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-576edb55-7cce-4156-adde-6850e38adf93</node></data>

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

2022-02-21 22:17:40 | [Mutex] waiting for: [received:nodes:bcd04bb0-59df-41e9-ba7c-a209e0550460:localhost]

2022-02-21 22:17:40 | [Mutex] received everything.

2022-02-21 22:17:40 | [Mutex] isItemNotified: received:node:bcd04bb0-59df-41e9-ba7c-a209e0550460:localhost:node-576edb55-7cce-4156-adde-6850e38adf93:Node 576edb55-7cce-4156-adde-6850e38adf93 :: false

2022-02-21 22:17:40 | [Mutex] waiting for: [received:nodes:832b5767-2108-4ca9-a564-171a12431c69:localhost]

2022-02-21 22:17:40 | [Mutex] received everything.

2022-02-21 22:17:40 | [Mutex] isItemNotified: received:node:832b5767-2108-4ca9-a564-171a12431c69:localhost:node-576edb55-7cce-4156-adde-6850e38adf93:Node 576edb55-7cce-4156-adde-6850e38adf93 :: false

publishItemsToNodes 0.251s
2022-02-21 22:17:37 |

2022-02-21 22:17:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:37 | ------------------------------------

2022-02-21 22:17:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-576edb55-7cce-4156-adde-6850e38adf93</node><item-id>item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</item-id><entry><test>item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</test></entry></data>

2022-02-21 22:17:37 | 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-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</value></item-id></result>

2022-02-21 22:17:37 | [Mutex] received everything.

2022-02-21 22:17:37 | [Mutex] isItemNotified: published:item:notifieditem-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f:admin@test-domain.com :: true

retractItemsFromNodes 0.313s
2022-02-21 22:17:37 |

2022-02-21 22:17:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:37 | ------------------------------------

2022-02-21 22:17:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-576edb55-7cce-4156-adde-6850e38adf93</node><item-id>item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</item-id></data>

2022-02-21 22:17:38 | 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-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</value></item-id></result>

2022-02-21 22:17:38 | [Mutex] waiting for: [retracted:item:notifieditem-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f:admin@test-domain.com]

2022-02-21 22:17:38 | [Mutex] received everything.

2022-02-21 22:17:38 | [Mutex] isItemNotified: retracted:item:notifieditem-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.367s
2022-02-21 22:17:37 |

2022-02-21 22:17:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:37 | ------------------------------------

2022-02-21 22:17:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-576edb55-7cce-4156-adde-6850e38adf93</node><item-id>item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</item-id></data>

2022-02-21 22:17:37 | 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-576edb55-7cce-4156-adde-6850e38adf93</value></node><item-id type="text-single" label="Item ID"><value>item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</value></item-id><item type="text-multi" label="Item"><value><item id="item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f"><test>item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f</test></item></value></item></result>

2022-02-21 22:17:37 | [Mutex] notify: [retrieved:item:item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f:payload-matches:true:localhost]

2022-02-21 22:17:37 | [Mutex] received everything.

2022-02-21 22:17:37 | [Mutex] isItemNotified: retrieved:item:item-050449ce-dce6-4ae2-b9c5-d67d4cbcb48f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-21 22:17:37 |

2022-02-21 22:17:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:37 | ------------------------------------

2022-02-21 22:17:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-21 22:17:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-576edb55-7cce-4156-adde-6850e38adf93</value><value>test</value><value>node-84b8c1a7-87e2-4f87-b059-8ac201143065</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-02-21 22:17:37 |

2022-02-21 22:17:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:37 | ------------------------------------

2022-02-21 22:17:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-576edb55-7cce-4156-adde-6850e38adf93)</node-pattern></data>

2022-02-21 22:17:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.166s
2022-02-21 22:17:36 |

2022-02-21 22:17:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:36 | ------------------------------------

2022-02-21 22:17:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-576edb55-7cce-4156-adde-6850e38adf93</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-21 22:17:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.181s
2022-02-21 22:17:38 |

2022-02-21 22:17:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:17:38 | ------------------------------------

2022-02-21 22:17:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-576edb55-7cce-4156-adde-6850e38adf93</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-21 22:17:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>