Test duration : 9.663s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2022-06-19 22:31:55 |
2022-06-19 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:55 | ------------------------------------ 2022-06-19 22:31:55 | [Mutex] waiting for: [configured:node:node-9e9ce88f-3472-4e28-8823-71a460e6f20b:node-488d657a-7c14-403b-8f5b-589891f55444] 2022-06-19 22:31:55 | [Mutex] received everything. 2022-06-19 22:31:55 | [Mutex] isItemNotified: configured:node:node-9e9ce88f-3472-4e28-8823-71a460e6f20b:node-488d657a-7c14-403b-8f5b-589891f55444 :: true 2022-06-19 22:31:56 | [Mutex] waiting for: [received:nodes:4a1756c0-7070-4ecd-860c-2b266bcf8ce4:localhost] 2022-06-19 22:31:56 | [Mutex] received everything. 2022-06-19 22:31:56 | [Mutex] isItemNotified: received:node:4a1756c0-7070-4ecd-860c-2b266bcf8ce4:localhost:node-9e9ce88f-3472-4e28-8823-71a460e6f20b:Node 9e9ce88f-3472-4e28-8823-71a460e6f20b :: true 2022-06-19 22:31:56 | [Mutex] waiting for: [received:nodes:01aa2f25-859b-449f-a18e-c1c2ac5daff4:localhost] 2022-06-19 22:31:56 | [Mutex] waiting for: [received:nodes:01aa2f25-859b-449f-a18e-c1c2ac5daff4:localhost] 2022-06-19 22:31:56 | [Mutex] received everything. 2022-06-19 22:31:56 | [Mutex] isItemNotified: received:node:01aa2f25-859b-449f-a18e-c1c2ac5daff4:localhost:node-9e9ce88f-3472-4e28-8823-71a460e6f20b:Node 9e9ce88f-3472-4e28-8823-71a460e6f20b :: false |
createNodes | 1.420s |
2022-06-19 22:31:52 |
2022-06-19 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:52 | ------------------------------------ 2022-06-19 22:31:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9e9ce88f-3472-4e28-8823-71a460e6f20b</title></pubsub></data> 2022-06-19 22:31:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:31:54 | [Mutex] waiting for: [received:nodes:aa6d07a6-403e-44d7-8be7-ac10d987052f:localhost] 2022-06-19 22:31:54 | [Mutex] received everything. 2022-06-19 22:31:54 | [Mutex] isItemNotified: received:node:aa6d07a6-403e-44d7-8be7-ac10d987052f:localhost:node-9e9ce88f-3472-4e28-8823-71a460e6f20b:Node 9e9ce88f-3472-4e28-8823-71a460e6f20b :: true |
createSubnodes | 1.033s |
2022-06-19 22:31:54 |
2022-06-19 22:31:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:54 | ------------------------------------ 2022-06-19 22:31:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-488d657a-7c14-403b-8f5b-589891f55444</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 488d657a-7c14-403b-8f5b-589891f55444</title></pubsub></data> 2022-06-19 22:31:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:31:55 | [Mutex] waiting for: [received:nodes:ec160d0f-1c49-408e-b881-2b0253e6dd6a:localhost] 2022-06-19 22:31:55 | [Mutex] waiting for: [received:nodes:ec160d0f-1c49-408e-b881-2b0253e6dd6a:localhost] 2022-06-19 22:31:55 | [Mutex] received everything. 2022-06-19 22:31:55 | [Mutex] isItemNotified: received:node:ec160d0f-1c49-408e-b881-2b0253e6dd6a:localhost:node-488d657a-7c14-403b-8f5b-589891f55444:Node 488d657a-7c14-403b-8f5b-589891f55444 :: true |
deleteNodes | 1.021s |
2022-06-19 22:32:00 |
2022-06-19 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:32:00 | ------------------------------------ 2022-06-19 22:32:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-488d657a-7c14-403b-8f5b-589891f55444</node></data> 2022-06-19 22:32:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:32:01 | [Mutex] waiting for: [received:nodes:fae0ba71-f802-42dd-8cf3-0a12d30261f3:localhost] 2022-06-19 22:32:01 | [Mutex] received everything. 2022-06-19 22:32:01 | [Mutex] isItemNotified: received:node:fae0ba71-f802-42dd-8cf3-0a12d30261f3:localhost:node-488d657a-7c14-403b-8f5b-589891f55444:Node 488d657a-7c14-403b-8f5b-589891f55444 :: false |
deleteSubnodes | 1.173s |
2022-06-19 22:31:59 |
2022-06-19 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:59 | ------------------------------------ 2022-06-19 22:31:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</node></data> 2022-06-19 22:31:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:32:00 | [Mutex] waiting for: [received:nodes:2361c579-8400-458f-b5d8-e902611945ed:localhost] 2022-06-19 22:32:00 | [Mutex] received everything. 2022-06-19 22:32:00 | [Mutex] isItemNotified: received:node:2361c579-8400-458f-b5d8-e902611945ed:localhost:node-9e9ce88f-3472-4e28-8823-71a460e6f20b:Node 9e9ce88f-3472-4e28-8823-71a460e6f20b :: false 2022-06-19 22:32:00 | [Mutex] waiting for: [received:nodes:4e535241-e746-480c-98c4-1bbf49148c28:localhost] 2022-06-19 22:32:00 | [Mutex] received everything. 2022-06-19 22:32:00 | [Mutex] isItemNotified: received:node:4e535241-e746-480c-98c4-1bbf49148c28:localhost:node-9e9ce88f-3472-4e28-8823-71a460e6f20b:Node 9e9ce88f-3472-4e28-8823-71a460e6f20b :: false |
publishItemsToNodes | 0.220s |
2022-06-19 22:31:57 |
2022-06-19 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:57 | ------------------------------------ 2022-06-19 22:31:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</node><item-id>item-9ba9e23d-c22c-47b2-a930-020098da5585</item-id><entry><test>item-9ba9e23d-c22c-47b2-a930-020098da5585</test></entry></data> 2022-06-19 22:31:57 | 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-9ba9e23d-c22c-47b2-a930-020098da5585</value></item-id></result> 2022-06-19 22:31:57 | [Mutex] received everything. 2022-06-19 22:31:57 | [Mutex] isItemNotified: published:item:notifieditem-9ba9e23d-c22c-47b2-a930-020098da5585:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2022-06-19 22:31:58 |
2022-06-19 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:58 | ------------------------------------ 2022-06-19 22:31:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</node><item-id>item-9ba9e23d-c22c-47b2-a930-020098da5585</item-id></data> 2022-06-19 22:31:58 | 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-9ba9e23d-c22c-47b2-a930-020098da5585</value></item-id></result> 2022-06-19 22:31:58 | [Mutex] waiting for: [retracted:item:notifieditem-9ba9e23d-c22c-47b2-a930-020098da5585:admin@test-domain.com] 2022-06-19 22:31:58 | [Mutex] received everything. 2022-06-19 22:31:58 | [Mutex] isItemNotified: retracted:item:notifieditem-9ba9e23d-c22c-47b2-a930-020098da5585:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.215s |
2022-06-19 22:31:57 |
2022-06-19 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:57 | ------------------------------------ 2022-06-19 22:31:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</node><item-id>item-9ba9e23d-c22c-47b2-a930-020098da5585</item-id></data> 2022-06-19 22:31:57 | 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-9e9ce88f-3472-4e28-8823-71a460e6f20b</value></node><item-id type="text-single" label="Item ID"><value>item-9ba9e23d-c22c-47b2-a930-020098da5585</value></item-id><item type="text-multi" label="Item"><value><item id="item-9ba9e23d-c22c-47b2-a930-020098da5585"><test>item-9ba9e23d-c22c-47b2-a930-020098da5585</test></item></value></item></result> 2022-06-19 22:31:57 | [Mutex] notify: [retrieved:item:item-9ba9e23d-c22c-47b2-a930-020098da5585:payload-matches:true:localhost] 2022-06-19 22:31:57 | [Mutex] received everything. 2022-06-19 22:31:57 | [Mutex] isItemNotified: retrieved:item:item-9ba9e23d-c22c-47b2-a930-020098da5585:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-19 22:31:57 |
2022-06-19 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:57 | ------------------------------------ 2022-06-19 22:31:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-19 22:31:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</value><value>test</value><value>node-488d657a-7c14-403b-8f5b-589891f55444</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-19 22:31:57 |
2022-06-19 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:57 | ------------------------------------ 2022-06-19 22:31:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9e9ce88f-3472-4e28-8823-71a460e6f20b)</node-pattern></data> 2022-06-19 22:31:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.173s |
2022-06-19 22:31:56 |
2022-06-19 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:56 | ------------------------------------ 2022-06-19 22:31:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-19 22:31:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.206s |
2022-06-19 22:31:58 |
2022-06-19 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:31:58 | ------------------------------------ 2022-06-19 22:31:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9e9ce88f-3472-4e28-8823-71a460e6f20b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-19 22:31:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |