Generated by TestNG with ReportNG at 21:59 PST on Wednesday 09 February 2022
root@785cf647a4ab / 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.531s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.188s
2022-02-09 22:16:09 |

2022-02-09 22:16:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:16:09 | ------------------------------------

2022-02-09 22:16:09 | [Mutex] waiting for: [configured:node:node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3:node-924b6a2b-1357-4b52-b0dc-faac89d2eee2]

2022-02-09 22:16:10 | [Mutex] received everything.

2022-02-09 22:16:10 | [Mutex] isItemNotified: configured:node:node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3:node-924b6a2b-1357-4b52-b0dc-faac89d2eee2 :: true

2022-02-09 22:16:11 | [Mutex] waiting for: [received:nodes:d0587d77-ace4-46e4-a412-30dbdedf9f19:localhost]

2022-02-09 22:16:11 | [Mutex] received everything.

2022-02-09 22:16:11 | [Mutex] isItemNotified: received:node:d0587d77-ace4-46e4-a412-30dbdedf9f19:localhost:node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3:Node 480a4a90-91f3-4c98-aa1a-34f0b3710fd3 :: true

2022-02-09 22:16:11 | [Mutex] waiting for: [received:nodes:3113d408-e5e6-4d80-8d0a-07b54b23aae5:localhost]

2022-02-09 22:16:11 | [Mutex] received everything.

2022-02-09 22:16:11 | [Mutex] isItemNotified: received:node:3113d408-e5e6-4d80-8d0a-07b54b23aae5:localhost:node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3:Node 480a4a90-91f3-4c98-aa1a-34f0b3710fd3 :: false

createNodes 1.610s
2022-02-09 22:16:07 |

2022-02-09 22:16:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:16:07 | ------------------------------------

2022-02-09 22:16:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 480a4a90-91f3-4c98-aa1a-34f0b3710fd3</title></pubsub></data>

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

2022-02-09 22:16:08 | [Mutex] waiting for: [received:nodes:c101b446-8646-485e-abf3-ae9baeba942c:localhost]

2022-02-09 22:16:08 | [Mutex] received everything.

2022-02-09 22:16:08 | [Mutex] isItemNotified: received:node:c101b446-8646-485e-abf3-ae9baeba942c:localhost:node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3:Node 480a4a90-91f3-4c98-aa1a-34f0b3710fd3 :: true

createSubnodes 1.041s
2022-02-09 22:16:08 |

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

2022-02-09 22:16:08 | ------------------------------------

2022-02-09 22:16:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-924b6a2b-1357-4b52-b0dc-faac89d2eee2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 924b6a2b-1357-4b52-b0dc-faac89d2eee2</title></pubsub></data>

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

2022-02-09 22:16:09 | [Mutex] waiting for: [received:nodes:97ae955a-9ff6-45d2-92dc-49764e4a5488:localhost]

2022-02-09 22:16:09 | [Mutex] received everything.

2022-02-09 22:16:09 | [Mutex] isItemNotified: received:node:97ae955a-9ff6-45d2-92dc-49764e4a5488:localhost:node-924b6a2b-1357-4b52-b0dc-faac89d2eee2:Node 924b6a2b-1357-4b52-b0dc-faac89d2eee2 :: true

deleteNodes 1.030s
2022-02-09 22:16:15 |

2022-02-09 22:16:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:16:15 | ------------------------------------

2022-02-09 22:16:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-924b6a2b-1357-4b52-b0dc-faac89d2eee2</node></data>

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

2022-02-09 22:16:16 | [Mutex] waiting for: [received:nodes:9bb8ba71-5a2d-4c78-8a5f-89c7f9994867:localhost]

2022-02-09 22:16:16 | [Mutex] waiting for: [received:nodes:9bb8ba71-5a2d-4c78-8a5f-89c7f9994867:localhost]

2022-02-09 22:16:16 | [Mutex] received everything.

2022-02-09 22:16:16 | [Mutex] isItemNotified: received:node:9bb8ba71-5a2d-4c78-8a5f-89c7f9994867:localhost:node-924b6a2b-1357-4b52-b0dc-faac89d2eee2:Node 924b6a2b-1357-4b52-b0dc-faac89d2eee2 :: false

deleteSubnodes 1.149s
2022-02-09 22:16:14 |

2022-02-09 22:16:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:16:14 | ------------------------------------

2022-02-09 22:16:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</node></data>

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

2022-02-09 22:16:15 | [Mutex] waiting for: [received:nodes:1ae8fece-e739-4896-a756-c44bf4dccb04:localhost]

2022-02-09 22:16:15 | [Mutex] received everything.

2022-02-09 22:16:15 | [Mutex] isItemNotified: received:node:1ae8fece-e739-4896-a756-c44bf4dccb04:localhost:node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3:Node 480a4a90-91f3-4c98-aa1a-34f0b3710fd3 :: false

2022-02-09 22:16:15 | [Mutex] waiting for: [received:nodes:467ffea3-03c2-41d1-a8cf-073694db11c7:localhost]

2022-02-09 22:16:15 | [Mutex] received everything.

2022-02-09 22:16:15 | [Mutex] isItemNotified: received:node:467ffea3-03c2-41d1-a8cf-073694db11c7:localhost:node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3:Node 480a4a90-91f3-4c98-aa1a-34f0b3710fd3 :: false

publishItemsToNodes 0.279s
2022-02-09 22:16:12 |

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

2022-02-09 22:16:12 | ------------------------------------

2022-02-09 22:16:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</node><item-id>item-8b3c5721-3abd-445f-8fd3-986d5780db4b</item-id><entry><test>item-8b3c5721-3abd-445f-8fd3-986d5780db4b</test></entry></data>

2022-02-09 22:16:12 | 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-8b3c5721-3abd-445f-8fd3-986d5780db4b</value></item-id></result>

2022-02-09 22:16:12 | [Mutex] received everything.

2022-02-09 22:16:12 | [Mutex] isItemNotified: published:item:notifieditem-8b3c5721-3abd-445f-8fd3-986d5780db4b:admin@test-domain.com :: true

retractItemsFromNodes 0.277s
2022-02-09 22:16:12 |

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

2022-02-09 22:16:12 | ------------------------------------

2022-02-09 22:16:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</node><item-id>item-8b3c5721-3abd-445f-8fd3-986d5780db4b</item-id></data>

2022-02-09 22:16:13 | 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-8b3c5721-3abd-445f-8fd3-986d5780db4b</value></item-id></result>

2022-02-09 22:16:13 | [Mutex] waiting for: [retracted:item:notifieditem-8b3c5721-3abd-445f-8fd3-986d5780db4b:admin@test-domain.com]

2022-02-09 22:16:13 | [Mutex] received everything.

2022-02-09 22:16:13 | [Mutex] isItemNotified: retracted:item:notifieditem-8b3c5721-3abd-445f-8fd3-986d5780db4b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.246s
2022-02-09 22:16:12 |

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

2022-02-09 22:16:12 | ------------------------------------

2022-02-09 22:16:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</node><item-id>item-8b3c5721-3abd-445f-8fd3-986d5780db4b</item-id></data>

2022-02-09 22:16:12 | 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-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</value></node><item-id type="text-single" label="Item ID"><value>item-8b3c5721-3abd-445f-8fd3-986d5780db4b</value></item-id><item type="text-multi" label="Item"><value><item id="item-8b3c5721-3abd-445f-8fd3-986d5780db4b"><test>item-8b3c5721-3abd-445f-8fd3-986d5780db4b</test></item></value></item></result>

2022-02-09 22:16:12 | [Mutex] notify: [retrieved:item:item-8b3c5721-3abd-445f-8fd3-986d5780db4b:payload-matches:true:localhost]

2022-02-09 22:16:12 | [Mutex] received everything.

2022-02-09 22:16:12 | [Mutex] isItemNotified: retrieved:item:item-8b3c5721-3abd-445f-8fd3-986d5780db4b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.057s
2022-02-09 22:16:12 |

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

2022-02-09 22:16:12 | ------------------------------------

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

2022-02-09 22:16:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-924b6a2b-1357-4b52-b0dc-faac89d2eee2</value><value>test</value><value>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-09 22:16:12 |

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

2022-02-09 22:16:12 | ------------------------------------

2022-02-09 22:16:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3)</node-pattern></data>

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

subscribeNodes 1.203s
2022-02-09 22:16:11 |

2022-02-09 22:16:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:16:11 | ------------------------------------

2022-02-09 22:16:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.349s
2022-02-09 22:16:13 |

2022-02-09 22:16:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:16:13 | ------------------------------------

2022-02-09 22:16:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-480a4a90-91f3-4c98-aa1a-34f0b3710fd3</node><jids><value>admin@test-domain.com</value></jids></data>

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