Test duration : 9.753s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2022-04-27 22:37:49 |
2022-04-27 22:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:49 | ------------------------------------ 2022-04-27 22:37:49 | [Mutex] waiting for: [configured:node:node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1:node-cb3d9b63-9a29-49c7-b303-6221cb9fb4c0] 2022-04-27 22:37:50 | [Mutex] received everything. 2022-04-27 22:37:50 | [Mutex] isItemNotified: configured:node:node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1:node-cb3d9b63-9a29-49c7-b303-6221cb9fb4c0 :: true 2022-04-27 22:37:51 | [Mutex] waiting for: [received:nodes:b96b9313-b24f-4559-93cb-735686d6f835:localhost] 2022-04-27 22:37:51 | [Mutex] received everything. 2022-04-27 22:37:51 | [Mutex] isItemNotified: received:node:b96b9313-b24f-4559-93cb-735686d6f835:localhost:node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1:Node 7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1 :: true 2022-04-27 22:37:51 | [Mutex] waiting for: [received:nodes:310e5811-6345-4767-8c1b-5bbc5fb5921d:localhost] 2022-04-27 22:37:51 | [Mutex] waiting for: [received:nodes:310e5811-6345-4767-8c1b-5bbc5fb5921d:localhost] 2022-04-27 22:37:51 | [Mutex] waiting for: [received:nodes:310e5811-6345-4767-8c1b-5bbc5fb5921d:localhost] 2022-04-27 22:37:51 | [Mutex] waiting for: [received:nodes:310e5811-6345-4767-8c1b-5bbc5fb5921d:localhost] 2022-04-27 22:37:51 | [Mutex] received everything. 2022-04-27 22:37:51 | [Mutex] isItemNotified: received:node:310e5811-6345-4767-8c1b-5bbc5fb5921d:localhost:node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1:Node 7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1 :: false |
createNodes | 1.523s |
2022-04-27 22:37:47 |
2022-04-27 22:37:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:47 | ------------------------------------ 2022-04-27 22:37:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</title></pubsub></data> 2022-04-27 22:37:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 22:37:48 | [Mutex] waiting for: [received:nodes:ce7248a1-f66e-4a05-983b-8f3e9fb46b9f:localhost] 2022-04-27 22:37:48 | [Mutex] received everything. 2022-04-27 22:37:48 | [Mutex] isItemNotified: received:node:ce7248a1-f66e-4a05-983b-8f3e9fb46b9f:localhost:node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1:Node 7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1 :: true |
createSubnodes | 1.023s |
2022-04-27 22:37:48 |
2022-04-27 22:37:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:48 | ------------------------------------ 2022-04-27 22:37:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cb3d9b63-9a29-49c7-b303-6221cb9fb4c0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cb3d9b63-9a29-49c7-b303-6221cb9fb4c0</title></pubsub></data> 2022-04-27 22:37:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 22:37:49 | [Mutex] waiting for: [received:nodes:a8d62582-c321-418e-870a-303dcc685ac8:localhost] 2022-04-27 22:37:49 | [Mutex] received everything. 2022-04-27 22:37:49 | [Mutex] isItemNotified: received:node:a8d62582-c321-418e-870a-303dcc685ac8:localhost:node-cb3d9b63-9a29-49c7-b303-6221cb9fb4c0:Node cb3d9b63-9a29-49c7-b303-6221cb9fb4c0 :: true |
deleteNodes | 1.021s |
2022-04-27 22:37:55 |
2022-04-27 22:37:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:55 | ------------------------------------ 2022-04-27 22:37:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cb3d9b63-9a29-49c7-b303-6221cb9fb4c0</node></data> 2022-04-27 22:37:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 22:37:56 | [Mutex] waiting for: [received:nodes:8002c4f9-1743-4b9b-aa71-8e59767757d4:localhost] 2022-04-27 22:37:56 | [Mutex] waiting for: [received:nodes:8002c4f9-1743-4b9b-aa71-8e59767757d4:localhost] 2022-04-27 22:37:56 | [Mutex] received everything. 2022-04-27 22:37:56 | [Mutex] isItemNotified: received:node:8002c4f9-1743-4b9b-aa71-8e59767757d4:localhost:node-cb3d9b63-9a29-49c7-b303-6221cb9fb4c0:Node cb3d9b63-9a29-49c7-b303-6221cb9fb4c0 :: false |
deleteSubnodes | 1.148s |
2022-04-27 22:37:54 |
2022-04-27 22:37:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:54 | ------------------------------------ 2022-04-27 22:37:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</node></data> 2022-04-27 22:37:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 22:37:55 | [Mutex] waiting for: [received:nodes:44ef2b13-73a0-4297-b6c1-59b2c75b8132:localhost] 2022-04-27 22:37:55 | [Mutex] received everything. 2022-04-27 22:37:55 | [Mutex] isItemNotified: received:node:44ef2b13-73a0-4297-b6c1-59b2c75b8132:localhost:node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1:Node 7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1 :: false 2022-04-27 22:37:55 | [Mutex] waiting for: [received:nodes:0d9ac948-d799-4d68-943f-a5f50066bedf:localhost] 2022-04-27 22:37:55 | [Mutex] received everything. 2022-04-27 22:37:55 | [Mutex] isItemNotified: received:node:0d9ac948-d799-4d68-943f-a5f50066bedf:localhost:node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1:Node 7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1 :: false |
publishItemsToNodes | 0.238s |
2022-04-27 22:37:52 |
2022-04-27 22:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:52 | ------------------------------------ 2022-04-27 22:37:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</node><item-id>item-d5f469c4-d059-4761-a140-364561396e3e</item-id><entry><test>item-d5f469c4-d059-4761-a140-364561396e3e</test></entry></data> 2022-04-27 22:37:52 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-d5f469c4-d059-4761-a140-364561396e3e</value></item-id></result> 2022-04-27 22:37:52 | [Mutex] received everything. 2022-04-27 22:37:52 | [Mutex] isItemNotified: published:item:notifieditem-d5f469c4-d059-4761-a140-364561396e3e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2022-04-27 22:37:52 |
2022-04-27 22:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:52 | ------------------------------------ 2022-04-27 22:37:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</node><item-id>item-d5f469c4-d059-4761-a140-364561396e3e</item-id></data> 2022-04-27 22:37:53 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-d5f469c4-d059-4761-a140-364561396e3e</value></item-id></result> 2022-04-27 22:37:53 | [Mutex] received everything. 2022-04-27 22:37:53 | [Mutex] isItemNotified: retracted:item:notifieditem-d5f469c4-d059-4761-a140-364561396e3e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.234s |
2022-04-27 22:37:52 |
2022-04-27 22:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:52 | ------------------------------------ 2022-04-27 22:37:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</node><item-id>item-d5f469c4-d059-4761-a140-364561396e3e</item-id></data> 2022-04-27 22:37:52 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</value></node><item-id label="Item ID" type="text-single"><value>item-d5f469c4-d059-4761-a140-364561396e3e</value></item-id><item label="Item" type="text-multi"><value><item id="item-d5f469c4-d059-4761-a140-364561396e3e"><test>item-d5f469c4-d059-4761-a140-364561396e3e</test></item></value></item></result> 2022-04-27 22:37:52 | [Mutex] notify: [retrieved:item:item-d5f469c4-d059-4761-a140-364561396e3e:payload-matches:true:localhost] 2022-04-27 22:37:52 | [Mutex] received everything. 2022-04-27 22:37:52 | [Mutex] isItemNotified: retrieved:item:item-d5f469c4-d059-4761-a140-364561396e3e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-04-27 22:37:52 |
2022-04-27 22:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:52 | ------------------------------------ 2022-04-27 22:37:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-27 22:37:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-cb3d9b63-9a29-49c7-b303-6221cb9fb4c0</value><value>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.050s |
2022-04-27 22:37:52 |
2022-04-27 22:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:52 | ------------------------------------ 2022-04-27 22:37:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1)</node-pattern></data> 2022-04-27 22:37:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.110s |
2022-04-27 22:37:51 |
2022-04-27 22:37:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:51 | ------------------------------------ 2022-04-27 22:37:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-27 22:37:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.159s |
2022-04-27 22:37:53 |
2022-04-27 22:37:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 22:37:53 | ------------------------------------ 2022-04-27 22:37:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7bc152dc-6ce6-49e9-a582-c6fc6b76b8a1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-27 22:37:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |