Test duration : 9.371s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-06-29 23:01:57 |
2022-06-29 23:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:01:57 | ------------------------------------ 2022-06-29 23:01:57 | [Mutex] waiting for: [configured:node:node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534:node-1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa] 2022-06-29 23:01:57 | [Mutex] received everything. 2022-06-29 23:01:57 | [Mutex] isItemNotified: configured:node:node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534:node-1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa :: true 2022-06-29 23:01:58 | [Mutex] waiting for: [received:nodes:cbf2f0df-e276-46fc-8b7a-98fa97704a1f:localhost] 2022-06-29 23:01:58 | [Mutex] received everything. 2022-06-29 23:01:58 | [Mutex] isItemNotified: received:node:cbf2f0df-e276-46fc-8b7a-98fa97704a1f:localhost:node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534:Node 0d5203a0-5256-48e8-ae61-8ef9c1a3f534 :: true 2022-06-29 23:01:58 | [Mutex] waiting for: [received:nodes:7a91a703-af6a-4dd4-a4bb-9cc4eef30178:localhost] 2022-06-29 23:01:58 | [Mutex] waiting for: [received:nodes:7a91a703-af6a-4dd4-a4bb-9cc4eef30178:localhost] 2022-06-29 23:01:58 | [Mutex] waiting for: [received:nodes:7a91a703-af6a-4dd4-a4bb-9cc4eef30178:localhost] 2022-06-29 23:01:58 | [Mutex] waiting for: [received:nodes:7a91a703-af6a-4dd4-a4bb-9cc4eef30178:localhost] 2022-06-29 23:01:58 | [Mutex] received everything. 2022-06-29 23:01:58 | [Mutex] isItemNotified: received:node:7a91a703-af6a-4dd4-a4bb-9cc4eef30178:localhost:node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534:Node 0d5203a0-5256-48e8-ae61-8ef9c1a3f534 :: false |
createNodes | 1.353s |
2022-06-29 23:01:55 |
2022-06-29 23:01:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:01:55 | ------------------------------------ 2022-06-29 23:01:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0d5203a0-5256-48e8-ae61-8ef9c1a3f534</title></pubsub></data> 2022-06-29 23:01:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-29 23:01:56 | [Mutex] waiting for: [received:nodes:274c8679-4bca-4247-b005-8f2c1597619c:localhost] 2022-06-29 23:01:56 | [Mutex] waiting for: [received:nodes:274c8679-4bca-4247-b005-8f2c1597619c:localhost] 2022-06-29 23:01:56 | [Mutex] received everything. 2022-06-29 23:01:56 | [Mutex] isItemNotified: received:node:274c8679-4bca-4247-b005-8f2c1597619c:localhost:node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534:Node 0d5203a0-5256-48e8-ae61-8ef9c1a3f534 :: true |
createSubnodes | 1.021s |
2022-06-29 23:01:56 |
2022-06-29 23:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:01:56 | ------------------------------------ 2022-06-29 23:01:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa</title></pubsub></data> 2022-06-29 23:01:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-29 23:01:57 | [Mutex] waiting for: [received:nodes:415c6792-bb06-4abc-9969-16cbe58eb314:localhost] 2022-06-29 23:01:57 | [Mutex] received everything. 2022-06-29 23:01:57 | [Mutex] isItemNotified: received:node:415c6792-bb06-4abc-9969-16cbe58eb314:localhost:node-1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa:Node 1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa :: true |
deleteNodes | 1.017s |
2022-06-29 23:02:02 |
2022-06-29 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:02:02 | ------------------------------------ 2022-06-29 23:02:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa</node></data> 2022-06-29 23:02:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-29 23:02:03 | [Mutex] waiting for: [received:nodes:23db1b52-3d63-41a1-a997-4d2262b92d6e:localhost] 2022-06-29 23:02:03 | [Mutex] received everything. 2022-06-29 23:02:03 | [Mutex] isItemNotified: received:node:23db1b52-3d63-41a1-a997-4d2262b92d6e:localhost:node-1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa:Node 1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa :: false |
deleteSubnodes | 1.132s |
2022-06-29 23:02:01 |
2022-06-29 23:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:02:01 | ------------------------------------ 2022-06-29 23:02:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</node></data> 2022-06-29 23:02:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-29 23:02:02 | [Mutex] waiting for: [received:nodes:cd21025d-402d-40e6-aeb3-0155a8b29134:localhost] 2022-06-29 23:02:02 | [Mutex] received everything. 2022-06-29 23:02:02 | [Mutex] isItemNotified: received:node:cd21025d-402d-40e6-aeb3-0155a8b29134:localhost:node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534:Node 0d5203a0-5256-48e8-ae61-8ef9c1a3f534 :: false 2022-06-29 23:02:02 | [Mutex] waiting for: [received:nodes:99056af3-cbfd-4a56-ba13-11505372da10:localhost] 2022-06-29 23:02:02 | [Mutex] received everything. 2022-06-29 23:02:02 | [Mutex] isItemNotified: received:node:99056af3-cbfd-4a56-ba13-11505372da10:localhost:node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534:Node 0d5203a0-5256-48e8-ae61-8ef9c1a3f534 :: false |
publishItemsToNodes | 0.233s |
2022-06-29 23:01:59 |
2022-06-29 23:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:01:59 | ------------------------------------ 2022-06-29 23:01:59 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</node><item-id>item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</item-id><entry><test>item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</test></entry></data> 2022-06-29 23:02:00 | 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-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</value></item-id></result> 2022-06-29 23:02:00 | [Mutex] received everything. 2022-06-29 23:02:00 | [Mutex] isItemNotified: published:item:notifieditem-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.232s |
2022-06-29 23:02:00 |
2022-06-29 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:02:00 | ------------------------------------ 2022-06-29 23:02:00 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</node><item-id>item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</item-id></data> 2022-06-29 23:02:00 | 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-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</value></item-id></result> 2022-06-29 23:02:00 | [Mutex] received everything. 2022-06-29 23:02:00 | [Mutex] isItemNotified: retracted:item:notifieditem-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.236s |
2022-06-29 23:02:00 |
2022-06-29 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:02:00 | ------------------------------------ 2022-06-29 23:02:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</node><item-id>item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</item-id></data> 2022-06-29 23:02:00 | 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-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</value></node><item-id type="text-single" label="Item ID"><value>item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</value></item-id><item type="text-multi" label="Item"><value><item id="item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e"><test>item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e</test></item></value></item></result> 2022-06-29 23:02:00 | [Mutex] notify: [retrieved:item:item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e:payload-matches:true:localhost] 2022-06-29 23:02:00 | [Mutex] received everything. 2022-06-29 23:02:00 | [Mutex] isItemNotified: retrieved:item:item-5a0cfdfd-7e8d-4633-bf32-9db74155ad7e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-06-29 23:02:00 |
2022-06-29 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:02:00 | ------------------------------------ 2022-06-29 23:02:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-29 23:02:00 | 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-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</value><value>node-1e41baa9-14c4-434e-85d0-bfc9cc7dfdaa</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-29 23:02:00 |
2022-06-29 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:02:00 | ------------------------------------ 2022-06-29 23:02:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534)</node-pattern></data> 2022-06-29 23:02:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.105s |
2022-06-29 23:01:58 |
2022-06-29 23:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:01:58 | ------------------------------------ 2022-06-29 23:01:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-29 23:01:58 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.216s |
2022-06-29 23:02:00 |
2022-06-29 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-29 23:02:00 | ------------------------------------ 2022-06-29 23:02:00 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0d5203a0-5256-48e8-ae61-8ef9c1a3f534</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-29 23:02:00 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |