Generated by TestNG with ReportNG at 22:38 PDT on Sunday 28 August 2022
root@f9c07ffec79b / 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.631s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2022-08-28 22:52:44 |

2022-08-28 22:52:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:44 | ------------------------------------

2022-08-28 22:52:44 | [Mutex] waiting for: [configured:node:node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4:node-b0267796-a0e4-4e73-9436-bf194fddb6c0]

2022-08-28 22:52:44 | [Mutex] received everything.

2022-08-28 22:52:44 | [Mutex] isItemNotified: configured:node:node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4:node-b0267796-a0e4-4e73-9436-bf194fddb6c0 :: true

2022-08-28 22:52:45 | [Mutex] waiting for: [received:nodes:fbc01c8b-4bd2-4320-a348-a213ce0345d4:localhost]

2022-08-28 22:52:45 | [Mutex] received everything.

2022-08-28 22:52:45 | [Mutex] isItemNotified: received:node:fbc01c8b-4bd2-4320-a348-a213ce0345d4:localhost:node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4:Node a9f71385-c7c6-4a18-83ef-eb0ba76090c4 :: true

2022-08-28 22:52:45 | [Mutex] waiting for: [received:nodes:2e752b15-58f6-4494-97c6-7a5786b61532:localhost]

2022-08-28 22:52:45 | [Mutex] waiting for: [received:nodes:2e752b15-58f6-4494-97c6-7a5786b61532:localhost]

2022-08-28 22:52:45 | [Mutex] received everything.

2022-08-28 22:52:45 | [Mutex] isItemNotified: received:node:2e752b15-58f6-4494-97c6-7a5786b61532:localhost:node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4:Node a9f71385-c7c6-4a18-83ef-eb0ba76090c4 :: false

createNodes 1.464s
2022-08-28 22:52:41 |

2022-08-28 22:52:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:41 | ------------------------------------

2022-08-28 22:52:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a9f71385-c7c6-4a18-83ef-eb0ba76090c4</title></pubsub></data>

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

2022-08-28 22:52:43 | [Mutex] waiting for: [received:nodes:0728672d-f28a-42c5-a03a-b04e6fd3d53a:localhost]

2022-08-28 22:52:43 | [Mutex] waiting for: [received:nodes:0728672d-f28a-42c5-a03a-b04e6fd3d53a:localhost]

2022-08-28 22:52:43 | [Mutex] received everything.

2022-08-28 22:52:43 | [Mutex] isItemNotified: received:node:0728672d-f28a-42c5-a03a-b04e6fd3d53a:localhost:node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4:Node a9f71385-c7c6-4a18-83ef-eb0ba76090c4 :: true

createSubnodes 1.023s
2022-08-28 22:52:43 |

2022-08-28 22:52:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:43 | ------------------------------------

2022-08-28 22:52:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b0267796-a0e4-4e73-9436-bf194fddb6c0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b0267796-a0e4-4e73-9436-bf194fddb6c0</title></pubsub></data>

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

2022-08-28 22:52:44 | [Mutex] waiting for: [received:nodes:54811413-b9d5-4f4b-8b43-23cf49e1b01f:localhost]

2022-08-28 22:52:44 | [Mutex] received everything.

2022-08-28 22:52:44 | [Mutex] isItemNotified: received:node:54811413-b9d5-4f4b-8b43-23cf49e1b01f:localhost:node-b0267796-a0e4-4e73-9436-bf194fddb6c0:Node b0267796-a0e4-4e73-9436-bf194fddb6c0 :: true

deleteNodes 1.017s
2022-08-28 22:52:49 |

2022-08-28 22:52:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:49 | ------------------------------------

2022-08-28 22:52:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b0267796-a0e4-4e73-9436-bf194fddb6c0</node></data>

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

2022-08-28 22:52:50 | [Mutex] waiting for: [received:nodes:e4a33d84-87d9-47a6-a219-63f275b4f577:localhost]

2022-08-28 22:52:50 | [Mutex] waiting for: [received:nodes:e4a33d84-87d9-47a6-a219-63f275b4f577:localhost]

2022-08-28 22:52:50 | [Mutex] received everything.

2022-08-28 22:52:50 | [Mutex] isItemNotified: received:node:e4a33d84-87d9-47a6-a219-63f275b4f577:localhost:node-b0267796-a0e4-4e73-9436-bf194fddb6c0:Node b0267796-a0e4-4e73-9436-bf194fddb6c0 :: false

deleteSubnodes 1.121s
2022-08-28 22:52:48 |

2022-08-28 22:52:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:48 | ------------------------------------

2022-08-28 22:52:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</node></data>

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

2022-08-28 22:52:49 | [Mutex] waiting for: [received:nodes:24774dd5-b15a-453f-9d96-d2b93f142952:localhost]

2022-08-28 22:52:49 | [Mutex] received everything.

2022-08-28 22:52:49 | [Mutex] isItemNotified: received:node:24774dd5-b15a-453f-9d96-d2b93f142952:localhost:node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4:Node a9f71385-c7c6-4a18-83ef-eb0ba76090c4 :: false

2022-08-28 22:52:49 | [Mutex] waiting for: [received:nodes:b1482bd7-fdb6-4664-b2dd-b86b6088d8e0:localhost]

2022-08-28 22:52:49 | [Mutex] received everything.

2022-08-28 22:52:49 | [Mutex] isItemNotified: received:node:b1482bd7-fdb6-4664-b2dd-b86b6088d8e0:localhost:node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4:Node a9f71385-c7c6-4a18-83ef-eb0ba76090c4 :: false

publishItemsToNodes 0.208s
2022-08-28 22:52:46 |

2022-08-28 22:52:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:46 | ------------------------------------

2022-08-28 22:52:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</node><item-id>item-3f2636a3-e196-44a8-8e7b-80848251b343</item-id><entry><test>item-3f2636a3-e196-44a8-8e7b-80848251b343</test></entry></data>

2022-08-28 22:52:46 | 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-3f2636a3-e196-44a8-8e7b-80848251b343</value></item-id></result>

2022-08-28 22:52:46 | [Mutex] received everything.

2022-08-28 22:52:46 | [Mutex] isItemNotified: published:item:notifieditem-3f2636a3-e196-44a8-8e7b-80848251b343:admin@test-domain.com :: true

retractItemsFromNodes 0.253s
2022-08-28 22:52:47 |

2022-08-28 22:52:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:47 | ------------------------------------

2022-08-28 22:52:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</node><item-id>item-3f2636a3-e196-44a8-8e7b-80848251b343</item-id></data>

2022-08-28 22:52:47 | 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-3f2636a3-e196-44a8-8e7b-80848251b343</value></item-id></result>

2022-08-28 22:52:47 | [Mutex] waiting for: [retracted:item:notifieditem-3f2636a3-e196-44a8-8e7b-80848251b343:admin@test-domain.com]

2022-08-28 22:52:47 | [Mutex] received everything.

2022-08-28 22:52:47 | [Mutex] isItemNotified: retracted:item:notifieditem-3f2636a3-e196-44a8-8e7b-80848251b343:admin@test-domain.com :: true

retrieveItemsFromNodes 0.262s
2022-08-28 22:52:46 |

2022-08-28 22:52:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:46 | ------------------------------------

2022-08-28 22:52:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</node><item-id>item-3f2636a3-e196-44a8-8e7b-80848251b343</item-id></data>

2022-08-28 22:52:47 | 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-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</value></node><item-id type="text-single" label="Item ID"><value>item-3f2636a3-e196-44a8-8e7b-80848251b343</value></item-id><item type="text-multi" label="Item"><value><item id="item-3f2636a3-e196-44a8-8e7b-80848251b343"><test>item-3f2636a3-e196-44a8-8e7b-80848251b343</test></item></value></item></result>

2022-08-28 22:52:47 | [Mutex] notify: [retrieved:item:item-3f2636a3-e196-44a8-8e7b-80848251b343:payload-matches:true:localhost]

2022-08-28 22:52:47 | [Mutex] received everything.

2022-08-28 22:52:47 | [Mutex] isItemNotified: retrieved:item:item-3f2636a3-e196-44a8-8e7b-80848251b343:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-28 22:52:47 |

2022-08-28 22:52:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:47 | ------------------------------------

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

2022-08-28 22:52:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-b0267796-a0e4-4e73-9436-bf194fddb6c0</value><value>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-08-28 22:52:47 |

2022-08-28 22:52:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:47 | ------------------------------------

2022-08-28 22:52:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4)</node-pattern></data>

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

subscribeNodes 1.175s
2022-08-28 22:52:45 |

2022-08-28 22:52:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:45 | ------------------------------------

2022-08-28 22:52:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-28 22:52:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.238s
2022-08-28 22:52:47 |

2022-08-28 22:52:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 22:52:47 | ------------------------------------

2022-08-28 22:52:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a9f71385-c7c6-4a18-83ef-eb0ba76090c4</node><jids><value>admin@test-domain.com</value></jids></data>

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