Generated by TestNG with ReportNG at 22:51 PDT on Tuesday 21 September 2021
root@f29ef40080b5 / 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.427s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2021-09-21 23:06:54 |

2021-09-21 23:06:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:54 | ------------------------------------

2021-09-21 23:06:54 | [Mutex] waiting for: [configured:node:node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76:node-7979d744-6dce-41e5-b45c-539274f9ef1a]

2021-09-21 23:06:54 | [Mutex] received everything.

2021-09-21 23:06:54 | [Mutex] isItemNotified: configured:node:node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76:node-7979d744-6dce-41e5-b45c-539274f9ef1a :: true

2021-09-21 23:06:55 | [Mutex] waiting for: [received:nodes:f48c9a1e-aeb9-4450-ac4c-2edb9dc84d4a:localhost]

2021-09-21 23:06:55 | [Mutex] received everything.

2021-09-21 23:06:55 | [Mutex] isItemNotified: received:node:f48c9a1e-aeb9-4450-ac4c-2edb9dc84d4a:localhost:node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76:Node d0720e41-f2f3-461c-92eb-b2a33dbf9c76 :: true

2021-09-21 23:06:55 | [Mutex] waiting for: [received:nodes:887b5c17-5013-47cf-8a32-5c722f6e779f:localhost]

2021-09-21 23:06:55 | [Mutex] received everything.

2021-09-21 23:06:55 | [Mutex] isItemNotified: received:node:887b5c17-5013-47cf-8a32-5c722f6e779f:localhost:node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76:Node d0720e41-f2f3-461c-92eb-b2a33dbf9c76 :: false

createNodes 1.571s
2021-09-21 23:06:51 |

2021-09-21 23:06:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:51 | ------------------------------------

2021-09-21 23:06:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d0720e41-f2f3-461c-92eb-b2a33dbf9c76</title></pubsub></data>

2021-09-21 23:06:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-21 23:06:52 | [Mutex] waiting for: [received:nodes:18f083a4-80e9-4b41-9699-99de21359789:localhost]

2021-09-21 23:06:53 | [Mutex] received everything.

2021-09-21 23:06:53 | [Mutex] isItemNotified: received:node:18f083a4-80e9-4b41-9699-99de21359789:localhost:node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76:Node d0720e41-f2f3-461c-92eb-b2a33dbf9c76 :: true

createSubnodes 1.034s
2021-09-21 23:06:53 |

2021-09-21 23:06:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:53 | ------------------------------------

2021-09-21 23:06:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7979d744-6dce-41e5-b45c-539274f9ef1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7979d744-6dce-41e5-b45c-539274f9ef1a</title></pubsub></data>

2021-09-21 23:06:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-21 23:06:54 | [Mutex] waiting for: [received:nodes:e26fa8b9-4b59-4565-92eb-cb4731bc698c:localhost]

2021-09-21 23:06:54 | [Mutex] waiting for: [received:nodes:e26fa8b9-4b59-4565-92eb-cb4731bc698c:localhost]

2021-09-21 23:06:54 | [Mutex] received everything.

2021-09-21 23:06:54 | [Mutex] isItemNotified: received:node:e26fa8b9-4b59-4565-92eb-cb4731bc698c:localhost:node-7979d744-6dce-41e5-b45c-539274f9ef1a:Node 7979d744-6dce-41e5-b45c-539274f9ef1a :: true

deleteNodes 1.032s
2021-09-21 23:06:59 |

2021-09-21 23:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:59 | ------------------------------------

2021-09-21 23:06:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7979d744-6dce-41e5-b45c-539274f9ef1a</node></data>

2021-09-21 23:06:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-21 23:07:00 | [Mutex] waiting for: [received:nodes:9f4c3fa9-ae2d-4b6e-87d9-f0e7d44ceb52:localhost]

2021-09-21 23:07:00 | [Mutex] received everything.

2021-09-21 23:07:00 | [Mutex] isItemNotified: received:node:9f4c3fa9-ae2d-4b6e-87d9-f0e7d44ceb52:localhost:node-7979d744-6dce-41e5-b45c-539274f9ef1a:Node 7979d744-6dce-41e5-b45c-539274f9ef1a :: false

deleteSubnodes 1.155s
2021-09-21 23:06:58 |

2021-09-21 23:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:58 | ------------------------------------

2021-09-21 23:06:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</node></data>

2021-09-21 23:06:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-21 23:06:59 | [Mutex] waiting for: [received:nodes:126104bf-7946-44f7-8797-45a51353422f:localhost]

2021-09-21 23:06:59 | [Mutex] waiting for: [received:nodes:126104bf-7946-44f7-8797-45a51353422f:localhost]

2021-09-21 23:06:59 | [Mutex] received everything.

2021-09-21 23:06:59 | [Mutex] isItemNotified: received:node:126104bf-7946-44f7-8797-45a51353422f:localhost:node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76:Node d0720e41-f2f3-461c-92eb-b2a33dbf9c76 :: false

2021-09-21 23:06:59 | [Mutex] waiting for: [received:nodes:1f5f9836-8fd0-4935-855a-3c7e7bfa6f30:localhost]

2021-09-21 23:06:59 | [Mutex] received everything.

2021-09-21 23:06:59 | [Mutex] isItemNotified: received:node:1f5f9836-8fd0-4935-855a-3c7e7bfa6f30:localhost:node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76:Node d0720e41-f2f3-461c-92eb-b2a33dbf9c76 :: false

publishItemsToNodes 0.271s
2021-09-21 23:06:56 |

2021-09-21 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:56 | ------------------------------------

2021-09-21 23:06:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</node><item-id>item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</item-id><entry><test>item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</test></entry></data>

2021-09-21 23:06:56 | 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-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</value></item-id></result>

2021-09-21 23:06:56 | [Mutex] received everything.

2021-09-21 23:06:56 | [Mutex] isItemNotified: published:item:notifieditem-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-09-21 23:06:57 |

2021-09-21 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:57 | ------------------------------------

2021-09-21 23:06:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</node><item-id>item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</item-id></data>

2021-09-21 23:06:57 | 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-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</value></item-id></result>

2021-09-21 23:06:57 | [Mutex] received everything.

2021-09-21 23:06:57 | [Mutex] isItemNotified: retracted:item:notifieditem-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.465s
2021-09-21 23:06:56 |

2021-09-21 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:56 | ------------------------------------

2021-09-21 23:06:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</node><item-id>item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</item-id></data>

2021-09-21 23:06:57 | 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-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</value></node><item-id label="Item ID" type="text-single"><value>item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</value></item-id><item label="Item" type="text-multi"><value><item id="item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9"><test>item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9</test></item></value></item></result>

2021-09-21 23:06:57 | [Mutex] notify: [retrieved:item:item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9:payload-matches:true:localhost]

2021-09-21 23:06:57 | [Mutex] received everything.

2021-09-21 23:06:57 | [Mutex] isItemNotified: retrieved:item:item-829dc8a4-8ad3-4dd8-a7e5-4dd0012b11f9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-09-21 23:06:57 |

2021-09-21 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:57 | ------------------------------------

2021-09-21 23:06:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-21 23:06:57 | 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-7979d744-6dce-41e5-b45c-539274f9ef1a</value><value>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-21 23:06:57 |

2021-09-21 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:57 | ------------------------------------

2021-09-21 23:06:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76)</node-pattern></data>

2021-09-21 23:06:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.226s
2021-09-21 23:06:55 |

2021-09-21 23:06:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:55 | ------------------------------------

2021-09-21 23:06:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-21 23:06:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.251s
2021-09-21 23:06:57 |

2021-09-21 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:06:57 | ------------------------------------

2021-09-21 23:06:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d0720e41-f2f3-461c-92eb-b2a33dbf9c76</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-21 23:06:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>