Test duration : 10.172s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2021-09-13 22:42:04 |
2021-09-13 22:42:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:04 | ------------------------------------ 2021-09-13 22:42:04 | [Mutex] waiting for: [configured:node:node-f4d1ce78-c29b-442e-980d-61222f579c7e:node-803c9425-c137-48b4-a082-3f6584968bed] 2021-09-13 22:42:04 | [Mutex] received everything. 2021-09-13 22:42:04 | [Mutex] isItemNotified: configured:node:node-f4d1ce78-c29b-442e-980d-61222f579c7e:node-803c9425-c137-48b4-a082-3f6584968bed :: true 2021-09-13 22:42:05 | [Mutex] waiting for: [received:nodes:7eb6067b-39fb-4282-8c86-13d5eb345222:localhost] 2021-09-13 22:42:05 | [Mutex] received everything. 2021-09-13 22:42:05 | [Mutex] isItemNotified: received:node:7eb6067b-39fb-4282-8c86-13d5eb345222:localhost:node-f4d1ce78-c29b-442e-980d-61222f579c7e:Node f4d1ce78-c29b-442e-980d-61222f579c7e :: true 2021-09-13 22:42:05 | [Mutex] waiting for: [received:nodes:30a56572-7c1f-42cc-8c1e-891e883747ae:localhost] 2021-09-13 22:42:05 | [Mutex] received everything. 2021-09-13 22:42:05 | [Mutex] isItemNotified: received:node:30a56572-7c1f-42cc-8c1e-891e883747ae:localhost:node-f4d1ce78-c29b-442e-980d-61222f579c7e:Node f4d1ce78-c29b-442e-980d-61222f579c7e :: false |
createNodes | 1.459s |
2021-09-13 22:42:02 |
2021-09-13 22:42:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:02 | ------------------------------------ 2021-09-13 22:42:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f4d1ce78-c29b-442e-980d-61222f579c7e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f4d1ce78-c29b-442e-980d-61222f579c7e</title></pubsub></data> 2021-09-13 22:42:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 22:42:03 | [Mutex] waiting for: [received:nodes:2ba89650-f28f-48bc-85c7-1b9ca027c38e:localhost] 2021-09-13 22:42:03 | [Mutex] received everything. 2021-09-13 22:42:03 | [Mutex] isItemNotified: received:node:2ba89650-f28f-48bc-85c7-1b9ca027c38e:localhost:node-f4d1ce78-c29b-442e-980d-61222f579c7e:Node f4d1ce78-c29b-442e-980d-61222f579c7e :: true |
createSubnodes | 1.034s |
2021-09-13 22:42:03 |
2021-09-13 22:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:03 | ------------------------------------ 2021-09-13 22:42:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-803c9425-c137-48b4-a082-3f6584968bed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 803c9425-c137-48b4-a082-3f6584968bed</title></pubsub></data> 2021-09-13 22:42:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 22:42:04 | [Mutex] waiting for: [received:nodes:45025c8a-ac05-4716-b47f-9d4d3f80f2ce:localhost] 2021-09-13 22:42:04 | [Mutex] received everything. 2021-09-13 22:42:04 | [Mutex] isItemNotified: received:node:45025c8a-ac05-4716-b47f-9d4d3f80f2ce:localhost:node-803c9425-c137-48b4-a082-3f6584968bed:Node 803c9425-c137-48b4-a082-3f6584968bed :: true |
deleteNodes | 1.026s |
2021-09-13 22:42:10 |
2021-09-13 22:42:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:10 | ------------------------------------ 2021-09-13 22:42:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-803c9425-c137-48b4-a082-3f6584968bed</node></data> 2021-09-13 22:42:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 22:42:11 | [Mutex] waiting for: [received:nodes:1d56b834-da76-4ba5-8a3d-3ae34e2bd1a2:localhost] 2021-09-13 22:42:11 | [Mutex] received everything. 2021-09-13 22:42:11 | [Mutex] isItemNotified: received:node:1d56b834-da76-4ba5-8a3d-3ae34e2bd1a2:localhost:node-803c9425-c137-48b4-a082-3f6584968bed:Node 803c9425-c137-48b4-a082-3f6584968bed :: false |
deleteSubnodes | 1.138s |
2021-09-13 22:42:09 |
2021-09-13 22:42:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:09 | ------------------------------------ 2021-09-13 22:42:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f4d1ce78-c29b-442e-980d-61222f579c7e</node></data> 2021-09-13 22:42:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 22:42:10 | [Mutex] waiting for: [received:nodes:a02f6d72-799c-4f96-87c9-c6f7044ed15b:localhost] 2021-09-13 22:42:10 | [Mutex] received everything. 2021-09-13 22:42:10 | [Mutex] isItemNotified: received:node:a02f6d72-799c-4f96-87c9-c6f7044ed15b:localhost:node-f4d1ce78-c29b-442e-980d-61222f579c7e:Node f4d1ce78-c29b-442e-980d-61222f579c7e :: false 2021-09-13 22:42:10 | [Mutex] waiting for: [received:nodes:975a0d07-6a94-4021-818c-6fbef6716b24:localhost] 2021-09-13 22:42:10 | [Mutex] received everything. 2021-09-13 22:42:10 | [Mutex] isItemNotified: received:node:975a0d07-6a94-4021-818c-6fbef6716b24:localhost:node-f4d1ce78-c29b-442e-980d-61222f579c7e:Node f4d1ce78-c29b-442e-980d-61222f579c7e :: false |
publishItemsToNodes | 0.289s |
2021-09-13 22:42:06 |
2021-09-13 22:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:06 | ------------------------------------ 2021-09-13 22:42:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f4d1ce78-c29b-442e-980d-61222f579c7e</node><item-id>item-4abee2d9-2a69-4427-9253-24073001efb8</item-id><entry><test>item-4abee2d9-2a69-4427-9253-24073001efb8</test></entry></data> 2021-09-13 22:42:07 | 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-4abee2d9-2a69-4427-9253-24073001efb8</value></item-id></result> 2021-09-13 22:42:07 | [Mutex] waiting for: [published:item:notifieditem-4abee2d9-2a69-4427-9253-24073001efb8:admin@test-domain.com] 2021-09-13 22:42:07 | [Mutex] received everything. 2021-09-13 22:42:07 | [Mutex] isItemNotified: published:item:notifieditem-4abee2d9-2a69-4427-9253-24073001efb8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.266s |
2021-09-13 22:42:07 |
2021-09-13 22:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:07 | ------------------------------------ 2021-09-13 22:42:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f4d1ce78-c29b-442e-980d-61222f579c7e</node><item-id>item-4abee2d9-2a69-4427-9253-24073001efb8</item-id></data> 2021-09-13 22:42:07 | 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-4abee2d9-2a69-4427-9253-24073001efb8</value></item-id></result> 2021-09-13 22:42:07 | [Mutex] waiting for: [retracted:item:notifieditem-4abee2d9-2a69-4427-9253-24073001efb8:admin@test-domain.com] 2021-09-13 22:42:07 | [Mutex] received everything. 2021-09-13 22:42:07 | [Mutex] isItemNotified: retracted:item:notifieditem-4abee2d9-2a69-4427-9253-24073001efb8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.320s |
2021-09-13 22:42:07 |
2021-09-13 22:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:07 | ------------------------------------ 2021-09-13 22:42:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f4d1ce78-c29b-442e-980d-61222f579c7e</node><item-id>item-4abee2d9-2a69-4427-9253-24073001efb8</item-id></data> 2021-09-13 22:42:07 | 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-f4d1ce78-c29b-442e-980d-61222f579c7e</value></node><item-id type="text-single" label="Item ID"><value>item-4abee2d9-2a69-4427-9253-24073001efb8</value></item-id><item type="text-multi" label="Item"><value><item id="item-4abee2d9-2a69-4427-9253-24073001efb8"><test>item-4abee2d9-2a69-4427-9253-24073001efb8</test></item></value></item></result> 2021-09-13 22:42:07 | [Mutex] notify: [retrieved:item:item-4abee2d9-2a69-4427-9253-24073001efb8:payload-matches:true:localhost] 2021-09-13 22:42:07 | [Mutex] received everything. 2021-09-13 22:42:07 | [Mutex] isItemNotified: retrieved:item:item-4abee2d9-2a69-4427-9253-24073001efb8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2021-09-13 22:42:07 |
2021-09-13 22:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:07 | ------------------------------------ 2021-09-13 22:42:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-13 22:42:07 | 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-803c9425-c137-48b4-a082-3f6584968bed</value><value>node-f4d1ce78-c29b-442e-980d-61222f579c7e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2021-09-13 22:42:07 |
2021-09-13 22:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:07 | ------------------------------------ 2021-09-13 22:42: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-f4d1ce78-c29b-442e-980d-61222f579c7e)</node-pattern></data> 2021-09-13 22:42:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.146s |
2021-09-13 22:42:05 |
2021-09-13 22:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:05 | ------------------------------------ 2021-09-13 22:42:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f4d1ce78-c29b-442e-980d-61222f579c7e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-13 22:42: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.350s |
2021-09-13 22:42:07 |
2021-09-13 22:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 22:42:07 | ------------------------------------ 2021-09-13 22:42:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f4d1ce78-c29b-442e-980d-61222f579c7e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-13 22:42:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |