Test duration : 9.406s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.079s |
2023-11-04 22:58:34 |
2023-11-04 22:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:34 | ------------------------------------ 2023-11-04 22:58:34 | [Mutex] waiting for: [configured:node:node-4ac63295-337e-4ac7-933f-d8b14d767b31:node-0864065c-09b0-4278-a968-48fbb6b4f421] 2023-11-04 22:58:34 | [Mutex] received everything. 2023-11-04 22:58:34 | [Mutex] isItemNotified: configured:node:node-4ac63295-337e-4ac7-933f-d8b14d767b31:node-0864065c-09b0-4278-a968-48fbb6b4f421 :: true 2023-11-04 22:58:35 | [Mutex] waiting for: [received:nodes:a83860a6-351e-4eba-9ac8-5f11cdc8e500:localhost] 2023-11-04 22:58:35 | [Mutex] received everything. 2023-11-04 22:58:35 | [Mutex] isItemNotified: received:node:a83860a6-351e-4eba-9ac8-5f11cdc8e500:localhost:node-4ac63295-337e-4ac7-933f-d8b14d767b31:Node 4ac63295-337e-4ac7-933f-d8b14d767b31 :: true 2023-11-04 22:58:35 | [Mutex] waiting for: [received:nodes:c8691000-fe94-4f52-a5d0-2d8b659882ec:localhost] 2023-11-04 22:58:35 | [Mutex] waiting for: [received:nodes:c8691000-fe94-4f52-a5d0-2d8b659882ec:localhost] 2023-11-04 22:58:35 | [Mutex] waiting for: [received:nodes:c8691000-fe94-4f52-a5d0-2d8b659882ec:localhost] 2023-11-04 22:58:35 | [Mutex] waiting for: [received:nodes:c8691000-fe94-4f52-a5d0-2d8b659882ec:localhost] 2023-11-04 22:58:35 | [Mutex] received everything. 2023-11-04 22:58:35 | [Mutex] isItemNotified: received:node:c8691000-fe94-4f52-a5d0-2d8b659882ec:localhost:node-4ac63295-337e-4ac7-933f-d8b14d767b31:Node 4ac63295-337e-4ac7-933f-d8b14d767b31 :: false |
createNodes | 1.377s |
2023-11-04 22:58:31 |
2023-11-04 22:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:31 | ------------------------------------ 2023-11-04 22:58:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4ac63295-337e-4ac7-933f-d8b14d767b31</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4ac63295-337e-4ac7-933f-d8b14d767b31</title></pubsub></data> 2023-11-04 22:58:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-04 22:58:33 | [Mutex] waiting for: [received:nodes:0439ded5-7f58-438f-b78e-1fc711f05585:localhost] 2023-11-04 22:58:33 | [Mutex] received everything. 2023-11-04 22:58:33 | [Mutex] isItemNotified: received:node:0439ded5-7f58-438f-b78e-1fc711f05585:localhost:node-4ac63295-337e-4ac7-933f-d8b14d767b31:Node 4ac63295-337e-4ac7-933f-d8b14d767b31 :: true |
createSubnodes | 1.021s |
2023-11-04 22:58:33 |
2023-11-04 22:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:33 | ------------------------------------ 2023-11-04 22:58:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0864065c-09b0-4278-a968-48fbb6b4f421</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0864065c-09b0-4278-a968-48fbb6b4f421</title></pubsub></data> 2023-11-04 22:58:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-04 22:58:34 | [Mutex] waiting for: [received:nodes:f17d4a61-8f94-4b6d-b627-bfc044faa099:localhost] 2023-11-04 22:58:34 | [Mutex] waiting for: [received:nodes:f17d4a61-8f94-4b6d-b627-bfc044faa099:localhost] 2023-11-04 22:58:34 | [Mutex] waiting for: [received:nodes:f17d4a61-8f94-4b6d-b627-bfc044faa099:localhost] 2023-11-04 22:58:34 | [Mutex] waiting for: [received:nodes:f17d4a61-8f94-4b6d-b627-bfc044faa099:localhost] 2023-11-04 22:58:34 | [Mutex] received everything. 2023-11-04 22:58:34 | [Mutex] isItemNotified: received:node:f17d4a61-8f94-4b6d-b627-bfc044faa099:localhost:node-0864065c-09b0-4278-a968-48fbb6b4f421:Node 0864065c-09b0-4278-a968-48fbb6b4f421 :: true |
deleteNodes | 1.018s |
2023-11-04 22:58:39 |
2023-11-04 22:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:39 | ------------------------------------ 2023-11-04 22:58:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0864065c-09b0-4278-a968-48fbb6b4f421</node></data> 2023-11-04 22:58:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-04 22:58:40 | [Mutex] waiting for: [received:nodes:c3e8b69d-7b69-4007-aa04-d30b136d219e:localhost] 2023-11-04 22:58:40 | [Mutex] received everything. 2023-11-04 22:58:40 | [Mutex] isItemNotified: received:node:c3e8b69d-7b69-4007-aa04-d30b136d219e:localhost:node-0864065c-09b0-4278-a968-48fbb6b4f421:Node 0864065c-09b0-4278-a968-48fbb6b4f421 :: false |
deleteSubnodes | 1.114s |
2023-11-04 22:58:38 |
2023-11-04 22:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:38 | ------------------------------------ 2023-11-04 22:58:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4ac63295-337e-4ac7-933f-d8b14d767b31</node></data> 2023-11-04 22:58:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-04 22:58:39 | [Mutex] waiting for: [received:nodes:0a3a59e8-5a6c-4f53-84a4-9f5b9c11a692:localhost] 2023-11-04 22:58:39 | [Mutex] waiting for: [received:nodes:0a3a59e8-5a6c-4f53-84a4-9f5b9c11a692:localhost] 2023-11-04 22:58:39 | [Mutex] waiting for: [received:nodes:0a3a59e8-5a6c-4f53-84a4-9f5b9c11a692:localhost] 2023-11-04 22:58:39 | [Mutex] waiting for: [received:nodes:0a3a59e8-5a6c-4f53-84a4-9f5b9c11a692:localhost] 2023-11-04 22:58:39 | [Mutex] received everything. 2023-11-04 22:58:39 | [Mutex] isItemNotified: received:node:0a3a59e8-5a6c-4f53-84a4-9f5b9c11a692:localhost:node-4ac63295-337e-4ac7-933f-d8b14d767b31:Node 4ac63295-337e-4ac7-933f-d8b14d767b31 :: false 2023-11-04 22:58:39 | [Mutex] waiting for: [received:nodes:2d47db72-b2df-4d11-971c-35312def1b65:localhost] 2023-11-04 22:58:39 | [Mutex] received everything. 2023-11-04 22:58:39 | [Mutex] isItemNotified: received:node:2d47db72-b2df-4d11-971c-35312def1b65:localhost:node-4ac63295-337e-4ac7-933f-d8b14d767b31:Node 4ac63295-337e-4ac7-933f-d8b14d767b31 :: false |
publishItemsToNodes | 0.213s |
2023-11-04 22:58:36 |
2023-11-04 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:36 | ------------------------------------ 2023-11-04 22:58:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4ac63295-337e-4ac7-933f-d8b14d767b31</node><item-id>item-770a1140-234f-4adc-87dc-d4d951aa252f</item-id><entry><test>item-770a1140-234f-4adc-87dc-d4d951aa252f</test></entry></data> 2023-11-04 22:58:36 | 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-770a1140-234f-4adc-87dc-d4d951aa252f</value></item-id></result> 2023-11-04 22:58:36 | [Mutex] received everything. 2023-11-04 22:58:36 | [Mutex] isItemNotified: published:item:notifieditem-770a1140-234f-4adc-87dc-d4d951aa252f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2023-11-04 22:58:36 |
2023-11-04 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:36 | ------------------------------------ 2023-11-04 22:58:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4ac63295-337e-4ac7-933f-d8b14d767b31</node><item-id>item-770a1140-234f-4adc-87dc-d4d951aa252f</item-id></data> 2023-11-04 22:58:37 | 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-770a1140-234f-4adc-87dc-d4d951aa252f</value></item-id></result> 2023-11-04 22:58:37 | [Mutex] received everything. 2023-11-04 22:58:37 | [Mutex] isItemNotified: retracted:item:notifieditem-770a1140-234f-4adc-87dc-d4d951aa252f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.283s |
2023-11-04 22:58:36 |
2023-11-04 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:36 | ------------------------------------ 2023-11-04 22:58:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4ac63295-337e-4ac7-933f-d8b14d767b31</node><item-id>item-770a1140-234f-4adc-87dc-d4d951aa252f</item-id></data> 2023-11-04 22:58:36 | 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-4ac63295-337e-4ac7-933f-d8b14d767b31</value></node><item-id type="text-single" label="Item ID"><value>item-770a1140-234f-4adc-87dc-d4d951aa252f</value></item-id><item type="text-multi" label="Item"><value><item id="item-770a1140-234f-4adc-87dc-d4d951aa252f"><test>item-770a1140-234f-4adc-87dc-d4d951aa252f</test></item></value></item></result> 2023-11-04 22:58:36 | [Mutex] notify: [retrieved:item:item-770a1140-234f-4adc-87dc-d4d951aa252f:payload-matches:true:localhost] 2023-11-04 22:58:36 | [Mutex] received everything. 2023-11-04 22:58:36 | [Mutex] isItemNotified: retrieved:item:item-770a1140-234f-4adc-87dc-d4d951aa252f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-11-04 22:58:36 |
2023-11-04 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:36 | ------------------------------------ 2023-11-04 22:58:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-11-04 22:58:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-0864065c-09b0-4278-a968-48fbb6b4f421</value><value>test</value><value>node-4ac63295-337e-4ac7-933f-d8b14d767b31</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-11-04 22:58:36 |
2023-11-04 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:36 | ------------------------------------ 2023-11-04 22:58:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4ac63295-337e-4ac7-933f-d8b14d767b31)</node-pattern></data> 2023-11-04 22:58:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.138s |
2023-11-04 22:58:35 |
2023-11-04 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:35 | ------------------------------------ 2023-11-04 22:58:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4ac63295-337e-4ac7-933f-d8b14d767b31</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-04 22:58:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.143s |
2023-11-04 22:58:37 |
2023-11-04 22:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-04 22:58:37 | ------------------------------------ 2023-11-04 22:58:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4ac63295-337e-4ac7-933f-d8b14d767b31</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-04 22:58:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |