Test duration : 9.416s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2023-06-04 23:00:14 |
2023-06-04 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:14 | ------------------------------------ 2023-06-04 23:00:14 | [Mutex] waiting for: [configured:node:node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e:node-08c238d5-b331-46f1-93b7-11fb89afbaf5] 2023-06-04 23:00:14 | [Mutex] received everything. 2023-06-04 23:00:14 | [Mutex] isItemNotified: configured:node:node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e:node-08c238d5-b331-46f1-93b7-11fb89afbaf5 :: true 2023-06-04 23:00:15 | [Mutex] waiting for: [received:nodes:9ea411c6-1831-4b5c-88cb-76e3f50aaf36:localhost] 2023-06-04 23:00:15 | [Mutex] received everything. 2023-06-04 23:00:15 | [Mutex] isItemNotified: received:node:9ea411c6-1831-4b5c-88cb-76e3f50aaf36:localhost:node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e:Node 46493b5e-1a35-43b8-ac6e-7fa8317c2d5e :: true 2023-06-04 23:00:15 | [Mutex] waiting for: [received:nodes:5e3ba1fd-9b1c-4cb9-af16-3246bc0a98b2:localhost] 2023-06-04 23:00:15 | [Mutex] waiting for: [received:nodes:5e3ba1fd-9b1c-4cb9-af16-3246bc0a98b2:localhost] 2023-06-04 23:00:15 | [Mutex] waiting for: [received:nodes:5e3ba1fd-9b1c-4cb9-af16-3246bc0a98b2:localhost] 2023-06-04 23:00:15 | [Mutex] received everything. 2023-06-04 23:00:15 | [Mutex] isItemNotified: received:node:5e3ba1fd-9b1c-4cb9-af16-3246bc0a98b2:localhost:node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e:Node 46493b5e-1a35-43b8-ac6e-7fa8317c2d5e :: false |
createNodes | 1.455s |
2023-06-04 23:00:12 |
2023-06-04 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:12 | ------------------------------------ 2023-06-04 23:00:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</title></pubsub></data> 2023-06-04 23:00:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 23:00:13 | [Mutex] waiting for: [received:nodes:57bca2b3-80b8-4aaa-9f58-cd5add5a2e7a:localhost] 2023-06-04 23:00:13 | [Mutex] waiting for: [received:nodes:57bca2b3-80b8-4aaa-9f58-cd5add5a2e7a:localhost] 2023-06-04 23:00:13 | [Mutex] waiting for: [received:nodes:57bca2b3-80b8-4aaa-9f58-cd5add5a2e7a:localhost] 2023-06-04 23:00:13 | [Mutex] waiting for: [received:nodes:57bca2b3-80b8-4aaa-9f58-cd5add5a2e7a:localhost] 2023-06-04 23:00:13 | [Mutex] received everything. 2023-06-04 23:00:13 | [Mutex] isItemNotified: received:node:57bca2b3-80b8-4aaa-9f58-cd5add5a2e7a:localhost:node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e:Node 46493b5e-1a35-43b8-ac6e-7fa8317c2d5e :: true |
createSubnodes | 1.030s |
2023-06-04 23:00:13 |
2023-06-04 23:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:13 | ------------------------------------ 2023-06-04 23:00:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-08c238d5-b331-46f1-93b7-11fb89afbaf5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 08c238d5-b331-46f1-93b7-11fb89afbaf5</title></pubsub></data> 2023-06-04 23:00:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 23:00:14 | [Mutex] waiting for: [received:nodes:d06a5722-773f-439d-a692-ca7656998cc5:localhost] 2023-06-04 23:00:14 | [Mutex] waiting for: [received:nodes:d06a5722-773f-439d-a692-ca7656998cc5:localhost] 2023-06-04 23:00:14 | [Mutex] waiting for: [received:nodes:d06a5722-773f-439d-a692-ca7656998cc5:localhost] 2023-06-04 23:00:14 | [Mutex] waiting for: [received:nodes:d06a5722-773f-439d-a692-ca7656998cc5:localhost] 2023-06-04 23:00:14 | [Mutex] received everything. 2023-06-04 23:00:14 | [Mutex] isItemNotified: received:node:d06a5722-773f-439d-a692-ca7656998cc5:localhost:node-08c238d5-b331-46f1-93b7-11fb89afbaf5:Node 08c238d5-b331-46f1-93b7-11fb89afbaf5 :: true |
deleteNodes | 1.017s |
2023-06-04 23:00:19 |
2023-06-04 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:19 | ------------------------------------ 2023-06-04 23:00:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-08c238d5-b331-46f1-93b7-11fb89afbaf5</node></data> 2023-06-04 23:00:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 23:00:20 | [Mutex] waiting for: [received:nodes:b1de3615-dd3b-4fda-8fef-966dcc74b4fb:localhost] 2023-06-04 23:00:20 | [Mutex] waiting for: [received:nodes:b1de3615-dd3b-4fda-8fef-966dcc74b4fb:localhost] 2023-06-04 23:00:20 | [Mutex] waiting for: [received:nodes:b1de3615-dd3b-4fda-8fef-966dcc74b4fb:localhost] 2023-06-04 23:00:20 | [Mutex] received everything. 2023-06-04 23:00:20 | [Mutex] isItemNotified: received:node:b1de3615-dd3b-4fda-8fef-966dcc74b4fb:localhost:node-08c238d5-b331-46f1-93b7-11fb89afbaf5:Node 08c238d5-b331-46f1-93b7-11fb89afbaf5 :: false |
deleteSubnodes | 1.107s |
2023-06-04 23:00:18 |
2023-06-04 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:18 | ------------------------------------ 2023-06-04 23:00:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</node></data> 2023-06-04 23:00:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 23:00:19 | [Mutex] waiting for: [received:nodes:3b94f2d8-fd10-4aef-9172-a61ae2acd82e:localhost] 2023-06-04 23:00:19 | [Mutex] waiting for: [received:nodes:3b94f2d8-fd10-4aef-9172-a61ae2acd82e:localhost] 2023-06-04 23:00:19 | [Mutex] waiting for: [received:nodes:3b94f2d8-fd10-4aef-9172-a61ae2acd82e:localhost] 2023-06-04 23:00:19 | [Mutex] waiting for: [received:nodes:3b94f2d8-fd10-4aef-9172-a61ae2acd82e:localhost] 2023-06-04 23:00:19 | [Mutex] received everything. 2023-06-04 23:00:19 | [Mutex] isItemNotified: received:node:3b94f2d8-fd10-4aef-9172-a61ae2acd82e:localhost:node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e:Node 46493b5e-1a35-43b8-ac6e-7fa8317c2d5e :: false 2023-06-04 23:00:19 | [Mutex] waiting for: [received:nodes:9941992f-8cfe-46a3-bf4d-64094f6643fc:localhost] 2023-06-04 23:00:19 | [Mutex] received everything. 2023-06-04 23:00:19 | [Mutex] isItemNotified: received:node:9941992f-8cfe-46a3-bf4d-64094f6643fc:localhost:node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e:Node 46493b5e-1a35-43b8-ac6e-7fa8317c2d5e :: false |
publishItemsToNodes | 0.189s |
2023-06-04 23:00:16 |
2023-06-04 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:16 | ------------------------------------ 2023-06-04 23:00:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</node><item-id>item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</item-id><entry><test>item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</test></entry></data> 2023-06-04 23:00:17 | 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-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</value></item-id></result> 2023-06-04 23:00:17 | [Mutex] waiting for: [published:item:notifieditem-ad2fde5a-8fd1-45e2-9695-7ea9387a893d:admin@test-domain.com] 2023-06-04 23:00:17 | [Mutex] received everything. 2023-06-04 23:00:17 | [Mutex] isItemNotified: published:item:notifieditem-ad2fde5a-8fd1-45e2-9695-7ea9387a893d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2023-06-04 23:00:17 |
2023-06-04 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:17 | ------------------------------------ 2023-06-04 23:00:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</node><item-id>item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</item-id></data> 2023-06-04 23:00:17 | 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-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</value></item-id></result> 2023-06-04 23:00:17 | [Mutex] received everything. 2023-06-04 23:00:17 | [Mutex] isItemNotified: retracted:item:notifieditem-ad2fde5a-8fd1-45e2-9695-7ea9387a893d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.236s |
2023-06-04 23:00:17 |
2023-06-04 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:17 | ------------------------------------ 2023-06-04 23:00:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</node><item-id>item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</item-id></data> 2023-06-04 23:00:17 | 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-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</value></node><item-id type="text-single" label="Item ID"><value>item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</value></item-id><item type="text-multi" label="Item"><value><item id="item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d"><test>item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d</test></item></value></item></result> 2023-06-04 23:00:17 | [Mutex] notify: [retrieved:item:item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d:payload-matches:true:localhost] 2023-06-04 23:00:17 | [Mutex] received everything. 2023-06-04 23:00:17 | [Mutex] isItemNotified: retrieved:item:item-ad2fde5a-8fd1-45e2-9695-7ea9387a893d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-06-04 23:00:17 |
2023-06-04 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:17 | ------------------------------------ 2023-06-04 23:00:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-04 23:00:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</value><value>test</value><value>node-08c238d5-b331-46f1-93b7-11fb89afbaf5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-06-04 23:00:17 |
2023-06-04 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:17 | ------------------------------------ 2023-06-04 23:00:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e)</node-pattern></data> 2023-06-04 23:00:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.120s |
2023-06-04 23:00:15 |
2023-06-04 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:15 | ------------------------------------ 2023-06-04 23:00:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-04 23:00:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2023-06-04 23:00:17 |
2023-06-04 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 23:00:17 | ------------------------------------ 2023-06-04 23:00:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-46493b5e-1a35-43b8-ac6e-7fa8317c2d5e</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-04 23:00:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |