Test duration : 9.504s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2022-04-14 22:35:11 |
2022-04-14 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:11 | ------------------------------------ 2022-04-14 22:35:11 | [Mutex] waiting for: [configured:node:node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed:node-a0cb700e-7b15-43fb-9e78-2be9cab71eab] 2022-04-14 22:35:11 | [Mutex] received everything. 2022-04-14 22:35:11 | [Mutex] isItemNotified: configured:node:node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed:node-a0cb700e-7b15-43fb-9e78-2be9cab71eab :: true 2022-04-14 22:35:12 | [Mutex] waiting for: [received:nodes:15283e67-aceb-4ad6-8aeb-6579cc246934:localhost] 2022-04-14 22:35:12 | [Mutex] received everything. 2022-04-14 22:35:12 | [Mutex] isItemNotified: received:node:15283e67-aceb-4ad6-8aeb-6579cc246934:localhost:node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed:Node 5b813982-b5f8-4e9b-abe7-2a87ce08c6ed :: true 2022-04-14 22:35:12 | [Mutex] waiting for: [received:nodes:7517bc13-a8b3-40ad-9174-8fb69b612e43:localhost] 2022-04-14 22:35:12 | [Mutex] received everything. 2022-04-14 22:35:12 | [Mutex] isItemNotified: received:node:7517bc13-a8b3-40ad-9174-8fb69b612e43:localhost:node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed:Node 5b813982-b5f8-4e9b-abe7-2a87ce08c6ed :: false |
createNodes | 1.361s |
2022-04-14 22:35:09 |
2022-04-14 22:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:09 | ------------------------------------ 2022-04-14 22:35:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</title></pubsub></data> 2022-04-14 22:35:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:35:10 | [Mutex] waiting for: [received:nodes:a16c15ca-eeca-4f7c-b347-e7b29a389aa9:localhost] 2022-04-14 22:35:10 | [Mutex] received everything. 2022-04-14 22:35:10 | [Mutex] isItemNotified: received:node:a16c15ca-eeca-4f7c-b347-e7b29a389aa9:localhost:node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed:Node 5b813982-b5f8-4e9b-abe7-2a87ce08c6ed :: true |
createSubnodes | 1.056s |
2022-04-14 22:35:10 |
2022-04-14 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:10 | ------------------------------------ 2022-04-14 22:35:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a0cb700e-7b15-43fb-9e78-2be9cab71eab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a0cb700e-7b15-43fb-9e78-2be9cab71eab</title></pubsub></data> 2022-04-14 22:35:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:35:11 | [Mutex] waiting for: [received:nodes:937dee95-b42b-4a90-9937-7ed6c40a75e3:localhost] 2022-04-14 22:35:11 | [Mutex] received everything. 2022-04-14 22:35:11 | [Mutex] isItemNotified: received:node:937dee95-b42b-4a90-9937-7ed6c40a75e3:localhost:node-a0cb700e-7b15-43fb-9e78-2be9cab71eab:Node a0cb700e-7b15-43fb-9e78-2be9cab71eab :: true |
deleteNodes | 1.018s |
2022-04-14 22:35:16 |
2022-04-14 22:35:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:16 | ------------------------------------ 2022-04-14 22:35:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a0cb700e-7b15-43fb-9e78-2be9cab71eab</node></data> 2022-04-14 22:35:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:35:17 | [Mutex] waiting for: [received:nodes:28639d14-b22e-486a-9cb8-c69b049ca04f:localhost] 2022-04-14 22:35:17 | [Mutex] waiting for: [received:nodes:28639d14-b22e-486a-9cb8-c69b049ca04f:localhost] 2022-04-14 22:35:17 | [Mutex] received everything. 2022-04-14 22:35:17 | [Mutex] isItemNotified: received:node:28639d14-b22e-486a-9cb8-c69b049ca04f:localhost:node-a0cb700e-7b15-43fb-9e78-2be9cab71eab:Node a0cb700e-7b15-43fb-9e78-2be9cab71eab :: false |
deleteSubnodes | 1.145s |
2022-04-14 22:35:15 |
2022-04-14 22:35:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:15 | ------------------------------------ 2022-04-14 22:35:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</node></data> 2022-04-14 22:35:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:35:16 | [Mutex] waiting for: [received:nodes:24582b2a-21c1-47d3-837e-b274638bc6d1:localhost] 2022-04-14 22:35:16 | [Mutex] received everything. 2022-04-14 22:35:16 | [Mutex] isItemNotified: received:node:24582b2a-21c1-47d3-837e-b274638bc6d1:localhost:node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed:Node 5b813982-b5f8-4e9b-abe7-2a87ce08c6ed :: false 2022-04-14 22:35:16 | [Mutex] waiting for: [received:nodes:0183cf24-3214-4a49-97f1-6bae3684225b:localhost] 2022-04-14 22:35:16 | [Mutex] received everything. 2022-04-14 22:35:16 | [Mutex] isItemNotified: received:node:0183cf24-3214-4a49-97f1-6bae3684225b:localhost:node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed:Node 5b813982-b5f8-4e9b-abe7-2a87ce08c6ed :: false |
publishItemsToNodes | 0.204s |
2022-04-14 22:35:13 |
2022-04-14 22:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:13 | ------------------------------------ 2022-04-14 22:35:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</node><item-id>item-33d9e790-986c-4f10-a80a-9401249e6680</item-id><entry><test>item-33d9e790-986c-4f10-a80a-9401249e6680</test></entry></data> 2022-04-14 22:35:13 | 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-33d9e790-986c-4f10-a80a-9401249e6680</value></item-id></result> 2022-04-14 22:35:13 | [Mutex] received everything. 2022-04-14 22:35:13 | [Mutex] isItemNotified: published:item:notifieditem-33d9e790-986c-4f10-a80a-9401249e6680:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2022-04-14 22:35:14 |
2022-04-14 22:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:14 | ------------------------------------ 2022-04-14 22:35:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</node><item-id>item-33d9e790-986c-4f10-a80a-9401249e6680</item-id></data> 2022-04-14 22:35:14 | 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-33d9e790-986c-4f10-a80a-9401249e6680</value></item-id></result> 2022-04-14 22:35:14 | [Mutex] received everything. 2022-04-14 22:35:14 | [Mutex] isItemNotified: retracted:item:notifieditem-33d9e790-986c-4f10-a80a-9401249e6680:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.249s |
2022-04-14 22:35:13 |
2022-04-14 22:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:13 | ------------------------------------ 2022-04-14 22:35:13 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</node><item-id>item-33d9e790-986c-4f10-a80a-9401249e6680</item-id></data> 2022-04-14 22:35:14 | 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-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</value></node><item-id type="text-single" label="Item ID"><value>item-33d9e790-986c-4f10-a80a-9401249e6680</value></item-id><item type="text-multi" label="Item"><value><item id="item-33d9e790-986c-4f10-a80a-9401249e6680"><test>item-33d9e790-986c-4f10-a80a-9401249e6680</test></item></value></item></result> 2022-04-14 22:35:14 | [Mutex] notify: [retrieved:item:item-33d9e790-986c-4f10-a80a-9401249e6680:payload-matches:true:localhost] 2022-04-14 22:35:14 | [Mutex] received everything. 2022-04-14 22:35:14 | [Mutex] isItemNotified: retrieved:item:item-33d9e790-986c-4f10-a80a-9401249e6680:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-04-14 22:35:14 |
2022-04-14 22:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:14 | ------------------------------------ 2022-04-14 22:35:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-14 22:35:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</value><value>test</value><value>node-a0cb700e-7b15-43fb-9e78-2be9cab71eab</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-04-14 22:35:14 |
2022-04-14 22:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:14 | ------------------------------------ 2022-04-14 22:35:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed)</node-pattern></data> 2022-04-14 22:35:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.160s |
2022-04-14 22:35:12 |
2022-04-14 22:35:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:12 | ------------------------------------ 2022-04-14 22:35:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 22:35:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.163s |
2022-04-14 22:35:14 |
2022-04-14 22:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:35:14 | ------------------------------------ 2022-04-14 22:35:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5b813982-b5f8-4e9b-abe7-2a87ce08c6ed</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 22:35:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |