Generated by TestNG with ReportNG at 22:21 PDT on Wednesday 13 April 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.553s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-04-13 22:36:09 |

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

2022-04-13 22:36:09 | ------------------------------------

2022-04-13 22:36:09 | [Mutex] waiting for: [configured:node:node-d51746f2-0c9d-4bee-835d-49b1266c526d:node-4ba7090e-7f3d-4c0b-965c-e977f456f370]

2022-04-13 22:36:09 | [Mutex] received everything.

2022-04-13 22:36:09 | [Mutex] isItemNotified: configured:node:node-d51746f2-0c9d-4bee-835d-49b1266c526d:node-4ba7090e-7f3d-4c0b-965c-e977f456f370 :: true

2022-04-13 22:36:10 | [Mutex] waiting for: [received:nodes:9019c656-cfda-4832-9d78-50f0f729f4fc:localhost]

2022-04-13 22:36:10 | [Mutex] received everything.

2022-04-13 22:36:10 | [Mutex] isItemNotified: received:node:9019c656-cfda-4832-9d78-50f0f729f4fc:localhost:node-d51746f2-0c9d-4bee-835d-49b1266c526d:Node d51746f2-0c9d-4bee-835d-49b1266c526d :: true

2022-04-13 22:36:10 | [Mutex] waiting for: [received:nodes:d0c145bd-89cf-4ee4-8305-bcc936456542:localhost]

2022-04-13 22:36:10 | [Mutex] received everything.

2022-04-13 22:36:10 | [Mutex] isItemNotified: received:node:d0c145bd-89cf-4ee4-8305-bcc936456542:localhost:node-d51746f2-0c9d-4bee-835d-49b1266c526d:Node d51746f2-0c9d-4bee-835d-49b1266c526d :: false

createNodes 1.405s
2022-04-13 22:36:06 |

2022-04-13 22:36:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:06 | ------------------------------------

2022-04-13 22:36:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d51746f2-0c9d-4bee-835d-49b1266c526d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d51746f2-0c9d-4bee-835d-49b1266c526d</title></pubsub></data>

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

2022-04-13 22:36:08 | [Mutex] waiting for: [received:nodes:2989ecf2-6fa1-4204-bb12-b13bee48cdad:localhost]

2022-04-13 22:36:08 | [Mutex] received everything.

2022-04-13 22:36:08 | [Mutex] isItemNotified: received:node:2989ecf2-6fa1-4204-bb12-b13bee48cdad:localhost:node-d51746f2-0c9d-4bee-835d-49b1266c526d:Node d51746f2-0c9d-4bee-835d-49b1266c526d :: true

createSubnodes 1.030s
2022-04-13 22:36:08 |

2022-04-13 22:36:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:08 | ------------------------------------

2022-04-13 22:36:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4ba7090e-7f3d-4c0b-965c-e977f456f370</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4ba7090e-7f3d-4c0b-965c-e977f456f370</title></pubsub></data>

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

2022-04-13 22:36:09 | [Mutex] waiting for: [received:nodes:a9bb548f-a09f-46f4-96d9-36a5ba6f8567:localhost]

2022-04-13 22:36:09 | [Mutex] waiting for: [received:nodes:a9bb548f-a09f-46f4-96d9-36a5ba6f8567:localhost]

2022-04-13 22:36:09 | [Mutex] received everything.

2022-04-13 22:36:09 | [Mutex] isItemNotified: received:node:a9bb548f-a09f-46f4-96d9-36a5ba6f8567:localhost:node-4ba7090e-7f3d-4c0b-965c-e977f456f370:Node 4ba7090e-7f3d-4c0b-965c-e977f456f370 :: true

deleteNodes 1.018s
2022-04-13 22:36:14 |

2022-04-13 22:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:14 | ------------------------------------

2022-04-13 22:36:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4ba7090e-7f3d-4c0b-965c-e977f456f370</node></data>

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

2022-04-13 22:36:15 | [Mutex] waiting for: [received:nodes:a3ebd77d-25a3-4b10-b5b5-a4b8cc98ffa3:localhost]

2022-04-13 22:36:15 | [Mutex] waiting for: [received:nodes:a3ebd77d-25a3-4b10-b5b5-a4b8cc98ffa3:localhost]

2022-04-13 22:36:15 | [Mutex] received everything.

2022-04-13 22:36:15 | [Mutex] isItemNotified: received:node:a3ebd77d-25a3-4b10-b5b5-a4b8cc98ffa3:localhost:node-4ba7090e-7f3d-4c0b-965c-e977f456f370:Node 4ba7090e-7f3d-4c0b-965c-e977f456f370 :: false

deleteSubnodes 1.128s
2022-04-13 22:36:13 |

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

2022-04-13 22:36:13 | ------------------------------------

2022-04-13 22:36:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d51746f2-0c9d-4bee-835d-49b1266c526d</node></data>

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

2022-04-13 22:36:14 | [Mutex] waiting for: [received:nodes:d9974cc6-0af8-4996-a5d2-5359500f2704:localhost]

2022-04-13 22:36:14 | [Mutex] received everything.

2022-04-13 22:36:14 | [Mutex] isItemNotified: received:node:d9974cc6-0af8-4996-a5d2-5359500f2704:localhost:node-d51746f2-0c9d-4bee-835d-49b1266c526d:Node d51746f2-0c9d-4bee-835d-49b1266c526d :: false

2022-04-13 22:36:14 | [Mutex] waiting for: [received:nodes:539751a5-c0a4-43ef-a173-6e41ef7f62d4:localhost]

2022-04-13 22:36:14 | [Mutex] received everything.

2022-04-13 22:36:14 | [Mutex] isItemNotified: received:node:539751a5-c0a4-43ef-a173-6e41ef7f62d4:localhost:node-d51746f2-0c9d-4bee-835d-49b1266c526d:Node d51746f2-0c9d-4bee-835d-49b1266c526d :: false

publishItemsToNodes 0.197s
2022-04-13 22:36:11 |

2022-04-13 22:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:11 | ------------------------------------

2022-04-13 22:36:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d51746f2-0c9d-4bee-835d-49b1266c526d</node><item-id>item-ba3c3864-a2be-434e-8c64-ad557bb81dcc</item-id><entry><test>item-ba3c3864-a2be-434e-8c64-ad557bb81dcc</test></entry></data>

2022-04-13 22:36:11 | 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-ba3c3864-a2be-434e-8c64-ad557bb81dcc</value></item-id></result>

2022-04-13 22:36:11 | [Mutex] received everything.

2022-04-13 22:36:11 | [Mutex] isItemNotified: published:item:notifieditem-ba3c3864-a2be-434e-8c64-ad557bb81dcc:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2022-04-13 22:36:11 |

2022-04-13 22:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:11 | ------------------------------------

2022-04-13 22:36:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d51746f2-0c9d-4bee-835d-49b1266c526d</node><item-id>item-ba3c3864-a2be-434e-8c64-ad557bb81dcc</item-id></data>

2022-04-13 22:36:12 | 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-ba3c3864-a2be-434e-8c64-ad557bb81dcc</value></item-id></result>

2022-04-13 22:36:12 | [Mutex] received everything.

2022-04-13 22:36:12 | [Mutex] isItemNotified: retracted:item:notifieditem-ba3c3864-a2be-434e-8c64-ad557bb81dcc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2022-04-13 22:36:11 |

2022-04-13 22:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:11 | ------------------------------------

2022-04-13 22:36:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d51746f2-0c9d-4bee-835d-49b1266c526d</node><item-id>item-ba3c3864-a2be-434e-8c64-ad557bb81dcc</item-id></data>

2022-04-13 22:36:11 | 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-d51746f2-0c9d-4bee-835d-49b1266c526d</value></node><item-id type="text-single" label="Item ID"><value>item-ba3c3864-a2be-434e-8c64-ad557bb81dcc</value></item-id><item type="text-multi" label="Item"><value><item id="item-ba3c3864-a2be-434e-8c64-ad557bb81dcc"><test>item-ba3c3864-a2be-434e-8c64-ad557bb81dcc</test></item></value></item></result>

2022-04-13 22:36:11 | [Mutex] notify: [retrieved:item:item-ba3c3864-a2be-434e-8c64-ad557bb81dcc:payload-matches:true:localhost]

2022-04-13 22:36:11 | [Mutex] received everything.

2022-04-13 22:36:11 | [Mutex] isItemNotified: retrieved:item:item-ba3c3864-a2be-434e-8c64-ad557bb81dcc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-04-13 22:36:11 |

2022-04-13 22:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:11 | ------------------------------------

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

2022-04-13 22:36:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-4ba7090e-7f3d-4c0b-965c-e977f456f370</value><value>test</value><value>node-d51746f2-0c9d-4bee-835d-49b1266c526d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-04-13 22:36:11 |

2022-04-13 22:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:11 | ------------------------------------

2022-04-13 22:36:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d51746f2-0c9d-4bee-835d-49b1266c526d)</node-pattern></data>

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

subscribeNodes 1.111s
2022-04-13 22:36:10 |

2022-04-13 22:36:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:10 | ------------------------------------

2022-04-13 22:36:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d51746f2-0c9d-4bee-835d-49b1266c526d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.219s
2022-04-13 22:36:12 |

2022-04-13 22:36:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:36:12 | ------------------------------------

2022-04-13 22:36:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d51746f2-0c9d-4bee-835d-49b1266c526d</node><jids><value>admin@test-domain.com</value></jids></data>

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