Generated by TestNG with ReportNG at 07:32 PDT on Tuesday 12 July 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.557s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-07-12 07:46:24 |

2022-07-12 07:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:24 | ------------------------------------

2022-07-12 07:46:24 | [Mutex] waiting for: [configured:node:node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1:node-4897d1ec-af7b-4781-9162-9329caaf5139]

2022-07-12 07:46:24 | [Mutex] received everything.

2022-07-12 07:46:24 | [Mutex] isItemNotified: configured:node:node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1:node-4897d1ec-af7b-4781-9162-9329caaf5139 :: true

2022-07-12 07:46:25 | [Mutex] waiting for: [received:nodes:b7881598-821d-4fea-8fe3-0286a2e9293c:localhost]

2022-07-12 07:46:25 | [Mutex] received everything.

2022-07-12 07:46:25 | [Mutex] isItemNotified: received:node:b7881598-821d-4fea-8fe3-0286a2e9293c:localhost:node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1:Node b13d6ebe-d308-41d3-b9bb-3e48b5f15da1 :: true

2022-07-12 07:46:25 | [Mutex] waiting for: [received:nodes:db34a32f-b72c-4b33-bd4d-f6f6b5a649c4:localhost]

2022-07-12 07:46:25 | [Mutex] received everything.

2022-07-12 07:46:25 | [Mutex] isItemNotified: received:node:db34a32f-b72c-4b33-bd4d-f6f6b5a649c4:localhost:node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1:Node b13d6ebe-d308-41d3-b9bb-3e48b5f15da1 :: false

createNodes 1.472s
2022-07-12 07:46:21 |

2022-07-12 07:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:21 | ------------------------------------

2022-07-12 07:46:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</title></pubsub></data>

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

2022-07-12 07:46:22 | [Mutex] waiting for: [received:nodes:e75e44ad-fd5f-44de-aae6-1db24a6bee53:localhost]

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

2022-07-12 07:46:22 | [Mutex] isItemNotified: received:node:e75e44ad-fd5f-44de-aae6-1db24a6bee53:localhost:node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1:Node b13d6ebe-d308-41d3-b9bb-3e48b5f15da1 :: true

createSubnodes 1.059s
2022-07-12 07:46:22 |

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

2022-07-12 07:46:22 | ------------------------------------

2022-07-12 07:46:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4897d1ec-af7b-4781-9162-9329caaf5139</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4897d1ec-af7b-4781-9162-9329caaf5139</title></pubsub></data>

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

2022-07-12 07:46:24 | [Mutex] waiting for: [received:nodes:efb7222b-151b-4e92-9f41-b298738c7b75:localhost]

2022-07-12 07:46:24 | [Mutex] received everything.

2022-07-12 07:46:24 | [Mutex] isItemNotified: received:node:efb7222b-151b-4e92-9f41-b298738c7b75:localhost:node-4897d1ec-af7b-4781-9162-9329caaf5139:Node 4897d1ec-af7b-4781-9162-9329caaf5139 :: true

deleteNodes 1.020s
2022-07-12 07:46:29 |

2022-07-12 07:46:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:29 | ------------------------------------

2022-07-12 07:46:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4897d1ec-af7b-4781-9162-9329caaf5139</node></data>

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

2022-07-12 07:46:30 | [Mutex] waiting for: [received:nodes:5aa45269-242d-42a7-90c0-fe11d6073c59:localhost]

2022-07-12 07:46:30 | [Mutex] received everything.

2022-07-12 07:46:30 | [Mutex] isItemNotified: received:node:5aa45269-242d-42a7-90c0-fe11d6073c59:localhost:node-4897d1ec-af7b-4781-9162-9329caaf5139:Node 4897d1ec-af7b-4781-9162-9329caaf5139 :: false

deleteSubnodes 1.128s
2022-07-12 07:46:28 |

2022-07-12 07:46:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:28 | ------------------------------------

2022-07-12 07:46:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</node></data>

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

2022-07-12 07:46:29 | [Mutex] waiting for: [received:nodes:24c72088-5cc9-4c2e-9a8a-e854fd944f08:localhost]

2022-07-12 07:46:29 | [Mutex] received everything.

2022-07-12 07:46:29 | [Mutex] isItemNotified: received:node:24c72088-5cc9-4c2e-9a8a-e854fd944f08:localhost:node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1:Node b13d6ebe-d308-41d3-b9bb-3e48b5f15da1 :: false

2022-07-12 07:46:29 | [Mutex] waiting for: [received:nodes:c9d0098f-32ce-4df8-9117-aade0d893ef2:localhost]

2022-07-12 07:46:29 | [Mutex] received everything.

2022-07-12 07:46:29 | [Mutex] isItemNotified: received:node:c9d0098f-32ce-4df8-9117-aade0d893ef2:localhost:node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1:Node b13d6ebe-d308-41d3-b9bb-3e48b5f15da1 :: false

publishItemsToNodes 0.196s
2022-07-12 07:46:26 |

2022-07-12 07:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:26 | ------------------------------------

2022-07-12 07:46:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</node><item-id>item-4fdeea97-7938-4d05-9ae1-22676a705a9a</item-id><entry><test>item-4fdeea97-7938-4d05-9ae1-22676a705a9a</test></entry></data>

2022-07-12 07:46:26 | 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-4fdeea97-7938-4d05-9ae1-22676a705a9a</value></item-id></result>

2022-07-12 07:46:26 | [Mutex] waiting for: [published:item:notifieditem-4fdeea97-7938-4d05-9ae1-22676a705a9a:admin@test-domain.com]

2022-07-12 07:46:26 | [Mutex] received everything.

2022-07-12 07:46:26 | [Mutex] isItemNotified: published:item:notifieditem-4fdeea97-7938-4d05-9ae1-22676a705a9a:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2022-07-12 07:46:26 |

2022-07-12 07:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:26 | ------------------------------------

2022-07-12 07:46:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</node><item-id>item-4fdeea97-7938-4d05-9ae1-22676a705a9a</item-id></data>

2022-07-12 07:46:27 | 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-4fdeea97-7938-4d05-9ae1-22676a705a9a</value></item-id></result>

2022-07-12 07:46:27 | [Mutex] received everything.

2022-07-12 07:46:27 | [Mutex] isItemNotified: retracted:item:notifieditem-4fdeea97-7938-4d05-9ae1-22676a705a9a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.245s
2022-07-12 07:46:26 |

2022-07-12 07:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:26 | ------------------------------------

2022-07-12 07:46:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</node><item-id>item-4fdeea97-7938-4d05-9ae1-22676a705a9a</item-id></data>

2022-07-12 07:46:26 | 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-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</value></node><item-id type="text-single" label="Item ID"><value>item-4fdeea97-7938-4d05-9ae1-22676a705a9a</value></item-id><item type="text-multi" label="Item"><value><item id="item-4fdeea97-7938-4d05-9ae1-22676a705a9a"><test>item-4fdeea97-7938-4d05-9ae1-22676a705a9a</test></item></value></item></result>

2022-07-12 07:46:26 | [Mutex] notify: [retrieved:item:item-4fdeea97-7938-4d05-9ae1-22676a705a9a:payload-matches:true:localhost]

2022-07-12 07:46:26 | [Mutex] received everything.

2022-07-12 07:46:26 | [Mutex] isItemNotified: retrieved:item:item-4fdeea97-7938-4d05-9ae1-22676a705a9a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-12 07:46:26 |

2022-07-12 07:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:26 | ------------------------------------

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

2022-07-12 07:46:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</value><value>test</value><value>node-4897d1ec-af7b-4781-9162-9329caaf5139</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-12 07:46:26 |

2022-07-12 07:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:26 | ------------------------------------

2022-07-12 07:46:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1)</node-pattern></data>

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

subscribeNodes 1.108s
2022-07-12 07:46:25 |

2022-07-12 07:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:25 | ------------------------------------

2022-07-12 07:46:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.275s
2022-07-12 07:46:27 |

2022-07-12 07:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:46:27 | ------------------------------------

2022-07-12 07:46:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b13d6ebe-d308-41d3-b9bb-3e48b5f15da1</node><jids><value>admin@test-domain.com</value></jids></data>

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