Generated by TestNG with ReportNG at 22:23 PDT on Sunday 22 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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 : 9.489s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2022-05-22 22:39:04 |

2022-05-22 22:39:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 22:39:04 | ------------------------------------

2022-05-22 22:39:04 | [Mutex] waiting for: [configured:node:node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4:node-f835114d-e569-45a4-a72d-ab191a87f925]

2022-05-22 22:39:04 | [Mutex] received everything.

2022-05-22 22:39:04 | [Mutex] isItemNotified: configured:node:node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4:node-f835114d-e569-45a4-a72d-ab191a87f925 :: true

2022-05-22 22:39:05 | [Mutex] waiting for: [received:nodes:abffd84a-8cde-40e9-bfb1-93ca7f793c2f:localhost]

2022-05-22 22:39:05 | [Mutex] received everything.

2022-05-22 22:39:05 | [Mutex] isItemNotified: received:node:abffd84a-8cde-40e9-bfb1-93ca7f793c2f:localhost:node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4:Node ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4 :: true

2022-05-22 22:39:05 | [Mutex] waiting for: [received:nodes:6309fe05-b8e2-4a79-b362-87d9a768b634:localhost]

2022-05-22 22:39:05 | [Mutex] waiting for: [received:nodes:6309fe05-b8e2-4a79-b362-87d9a768b634:localhost]

2022-05-22 22:39:05 | [Mutex] received everything.

2022-05-22 22:39:05 | [Mutex] isItemNotified: received:node:6309fe05-b8e2-4a79-b362-87d9a768b634:localhost:node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4:Node ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4 :: false

createNodes 1.407s
2022-05-22 22:39:02 |

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

2022-05-22 22:39:02 | ------------------------------------

2022-05-22 22:39:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</title></pubsub></data>

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

2022-05-22 22:39:03 | [Mutex] waiting for: [received:nodes:3403dbda-75d0-4b61-942b-078cbdffb46f:localhost]

2022-05-22 22:39:03 | [Mutex] received everything.

2022-05-22 22:39:03 | [Mutex] isItemNotified: received:node:3403dbda-75d0-4b61-942b-078cbdffb46f:localhost:node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4:Node ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4 :: true

createSubnodes 1.023s
2022-05-22 22:39:03 |

2022-05-22 22:39:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 22:39:03 | ------------------------------------

2022-05-22 22:39:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f835114d-e569-45a4-a72d-ab191a87f925</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f835114d-e569-45a4-a72d-ab191a87f925</title></pubsub></data>

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

2022-05-22 22:39:04 | [Mutex] waiting for: [received:nodes:cdaf35d9-e088-4703-b419-2ac7645a9323:localhost]

2022-05-22 22:39:04 | [Mutex] received everything.

2022-05-22 22:39:04 | [Mutex] isItemNotified: received:node:cdaf35d9-e088-4703-b419-2ac7645a9323:localhost:node-f835114d-e569-45a4-a72d-ab191a87f925:Node f835114d-e569-45a4-a72d-ab191a87f925 :: true

deleteNodes 1.017s
2022-05-22 22:39:10 |

2022-05-22 22:39:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 22:39:10 | ------------------------------------

2022-05-22 22:39:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f835114d-e569-45a4-a72d-ab191a87f925</node></data>

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

2022-05-22 22:39:11 | [Mutex] waiting for: [received:nodes:d4a00bf6-3a44-43bd-96c8-855799c364be:localhost]

2022-05-22 22:39:11 | [Mutex] received everything.

2022-05-22 22:39:11 | [Mutex] isItemNotified: received:node:d4a00bf6-3a44-43bd-96c8-855799c364be:localhost:node-f835114d-e569-45a4-a72d-ab191a87f925:Node f835114d-e569-45a4-a72d-ab191a87f925 :: false

deleteSubnodes 1.120s
2022-05-22 22:39:08 |

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

2022-05-22 22:39:08 | ------------------------------------

2022-05-22 22:39:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</node></data>

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

2022-05-22 22:39:10 | [Mutex] waiting for: [received:nodes:3af723c3-aa84-4984-8846-b2455751ab46:localhost]

2022-05-22 22:39:10 | [Mutex] waiting for: [received:nodes:3af723c3-aa84-4984-8846-b2455751ab46:localhost]

2022-05-22 22:39:10 | [Mutex] received everything.

2022-05-22 22:39:10 | [Mutex] isItemNotified: received:node:3af723c3-aa84-4984-8846-b2455751ab46:localhost:node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4:Node ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4 :: false

2022-05-22 22:39:10 | [Mutex] waiting for: [received:nodes:90eaab3d-e4c5-4a7c-8f97-f0a7363d1b69:localhost]

2022-05-22 22:39:10 | [Mutex] received everything.

2022-05-22 22:39:10 | [Mutex] isItemNotified: received:node:90eaab3d-e4c5-4a7c-8f97-f0a7363d1b69:localhost:node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4:Node ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4 :: false

publishItemsToNodes 0.227s
2022-05-22 22:39:06 |

2022-05-22 22:39:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 22:39:06 | ------------------------------------

2022-05-22 22:39:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</node><item-id>item-1fafdd1d-cc20-4896-9f8d-491af1511c43</item-id><entry><test>item-1fafdd1d-cc20-4896-9f8d-491af1511c43</test></entry></data>

2022-05-22 22:39:07 | 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-1fafdd1d-cc20-4896-9f8d-491af1511c43</value></item-id></result>

2022-05-22 22:39:07 | [Mutex] waiting for: [published:item:notifieditem-1fafdd1d-cc20-4896-9f8d-491af1511c43:admin@test-domain.com]

2022-05-22 22:39:07 | [Mutex] received everything.

2022-05-22 22:39:07 | [Mutex] isItemNotified: published:item:notifieditem-1fafdd1d-cc20-4896-9f8d-491af1511c43:admin@test-domain.com :: true

retractItemsFromNodes 0.336s
2022-05-22 22:39:07 |

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

2022-05-22 22:39:07 | ------------------------------------

2022-05-22 22:39:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</node><item-id>item-1fafdd1d-cc20-4896-9f8d-491af1511c43</item-id></data>

2022-05-22 22:39:07 | 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-1fafdd1d-cc20-4896-9f8d-491af1511c43</value></item-id></result>

2022-05-22 22:39:07 | [Mutex] received everything.

2022-05-22 22:39:07 | [Mutex] isItemNotified: retracted:item:notifieditem-1fafdd1d-cc20-4896-9f8d-491af1511c43:admin@test-domain.com :: true

retrieveItemsFromNodes 0.198s
2022-05-22 22:39:07 |

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

2022-05-22 22:39:07 | ------------------------------------

2022-05-22 22:39:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</node><item-id>item-1fafdd1d-cc20-4896-9f8d-491af1511c43</item-id></data>

2022-05-22 22:39:07 | 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-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</value></node><item-id label="Item ID" type="text-single"><value>item-1fafdd1d-cc20-4896-9f8d-491af1511c43</value></item-id><item label="Item" type="text-multi"><value><item id="item-1fafdd1d-cc20-4896-9f8d-491af1511c43"><test>item-1fafdd1d-cc20-4896-9f8d-491af1511c43</test></item></value></item></result>

2022-05-22 22:39:07 | [Mutex] notify: [retrieved:item:item-1fafdd1d-cc20-4896-9f8d-491af1511c43:payload-matches:true:localhost]

2022-05-22 22:39:07 | [Mutex] received everything.

2022-05-22 22:39:07 | [Mutex] isItemNotified: retrieved:item:item-1fafdd1d-cc20-4896-9f8d-491af1511c43:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-05-22 22:39:07 |

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

2022-05-22 22:39:07 | ------------------------------------

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

2022-05-22 22:39:07 | 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-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</value><value>node-f835114d-e569-45a4-a72d-ab191a87f925</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2022-05-22 22:39:07 |

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

2022-05-22 22:39:07 | ------------------------------------

2022-05-22 22:39:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4)</node-pattern></data>

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

subscribeNodes 1.111s
2022-05-22 22:39:05 |

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

2022-05-22 22:39:05 | ------------------------------------

2022-05-22 22:39:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-22 22:39: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.196s
2022-05-22 22:39:07 |

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

2022-05-22 22:39:07 | ------------------------------------

2022-05-22 22:39:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ca3665aa-f3bf-4f40-a0a2-c80d8a4c0bf4</node><jids><value>admin@test-domain.com</value></jids></data>

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