Test duration : 10.223s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2021-10-05 22:56:40 |
2021-10-05 22:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:40 | ------------------------------------ 2021-10-05 22:56:40 | [Mutex] waiting for: [configured:node:node-28dba7ce-0c0d-4d90-ac61-032eb55d5586:node-fcd23d37-7b4b-4b69-90b1-41d4aec2b652] 2021-10-05 22:56:40 | [Mutex] received everything. 2021-10-05 22:56:40 | [Mutex] isItemNotified: configured:node:node-28dba7ce-0c0d-4d90-ac61-032eb55d5586:node-fcd23d37-7b4b-4b69-90b1-41d4aec2b652 :: true 2021-10-05 22:56:41 | [Mutex] waiting for: [received:nodes:4594e3ca-5ced-4924-adca-cda3b8e9378d:localhost] 2021-10-05 22:56:41 | [Mutex] received everything. 2021-10-05 22:56:41 | [Mutex] isItemNotified: received:node:4594e3ca-5ced-4924-adca-cda3b8e9378d:localhost:node-28dba7ce-0c0d-4d90-ac61-032eb55d5586:Node 28dba7ce-0c0d-4d90-ac61-032eb55d5586 :: true 2021-10-05 22:56:41 | [Mutex] waiting for: [received:nodes:a224ba40-5224-4430-a00a-099e19288d09:localhost] 2021-10-05 22:56:41 | [Mutex] received everything. 2021-10-05 22:56:41 | [Mutex] isItemNotified: received:node:a224ba40-5224-4430-a00a-099e19288d09:localhost:node-28dba7ce-0c0d-4d90-ac61-032eb55d5586:Node 28dba7ce-0c0d-4d90-ac61-032eb55d5586 :: false |
createNodes | 1.481s |
2021-10-05 22:56:38 |
2021-10-05 22:56:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:38 | ------------------------------------ 2021-10-05 22:56:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 28dba7ce-0c0d-4d90-ac61-032eb55d5586</title></pubsub></data> 2021-10-05 22:56:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:56:39 | [Mutex] waiting for: [received:nodes:e31df296-018b-4173-8cfb-668f48d605d9:localhost] 2021-10-05 22:56:39 | [Mutex] received everything. 2021-10-05 22:56:39 | [Mutex] isItemNotified: received:node:e31df296-018b-4173-8cfb-668f48d605d9:localhost:node-28dba7ce-0c0d-4d90-ac61-032eb55d5586:Node 28dba7ce-0c0d-4d90-ac61-032eb55d5586 :: true |
createSubnodes | 1.029s |
2021-10-05 22:56:39 |
2021-10-05 22:56:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:39 | ------------------------------------ 2021-10-05 22:56:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fcd23d37-7b4b-4b69-90b1-41d4aec2b652</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fcd23d37-7b4b-4b69-90b1-41d4aec2b652</title></pubsub></data> 2021-10-05 22:56:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:56:40 | [Mutex] waiting for: [received:nodes:f53f79e6-23f3-48f2-a305-375aaae542e8:localhost] 2021-10-05 22:56:40 | [Mutex] received everything. 2021-10-05 22:56:40 | [Mutex] isItemNotified: received:node:f53f79e6-23f3-48f2-a305-375aaae542e8:localhost:node-fcd23d37-7b4b-4b69-90b1-41d4aec2b652:Node fcd23d37-7b4b-4b69-90b1-41d4aec2b652 :: true |
deleteNodes | 1.016s |
2021-10-05 22:56:46 |
2021-10-05 22:56:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:46 | ------------------------------------ 2021-10-05 22:56:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fcd23d37-7b4b-4b69-90b1-41d4aec2b652</node></data> 2021-10-05 22:56:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:56:47 | [Mutex] waiting for: [received:nodes:afbe8d35-de52-4f28-b85d-76f6b682b0af:localhost] 2021-10-05 22:56:47 | [Mutex] received everything. 2021-10-05 22:56:47 | [Mutex] isItemNotified: received:node:afbe8d35-de52-4f28-b85d-76f6b682b0af:localhost:node-fcd23d37-7b4b-4b69-90b1-41d4aec2b652:Node fcd23d37-7b4b-4b69-90b1-41d4aec2b652 :: false |
deleteSubnodes | 1.196s |
2021-10-05 22:56:45 |
2021-10-05 22:56:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:45 | ------------------------------------ 2021-10-05 22:56:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</node></data> 2021-10-05 22:56:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:56:46 | [Mutex] waiting for: [received:nodes:6152adfe-8a79-495d-9dc1-dd294eca6af4:localhost] 2021-10-05 22:56:46 | [Mutex] waiting for: [received:nodes:6152adfe-8a79-495d-9dc1-dd294eca6af4:localhost] 2021-10-05 22:56:46 | [Mutex] received everything. 2021-10-05 22:56:46 | [Mutex] isItemNotified: received:node:6152adfe-8a79-495d-9dc1-dd294eca6af4:localhost:node-28dba7ce-0c0d-4d90-ac61-032eb55d5586:Node 28dba7ce-0c0d-4d90-ac61-032eb55d5586 :: false 2021-10-05 22:56:46 | [Mutex] waiting for: [received:nodes:505eae46-5cc8-4cc5-9618-54d503c04d0e:localhost] 2021-10-05 22:56:46 | [Mutex] received everything. 2021-10-05 22:56:46 | [Mutex] isItemNotified: received:node:505eae46-5cc8-4cc5-9618-54d503c04d0e:localhost:node-28dba7ce-0c0d-4d90-ac61-032eb55d5586:Node 28dba7ce-0c0d-4d90-ac61-032eb55d5586 :: false |
publishItemsToNodes | 0.257s |
2021-10-05 22:56:42 |
2021-10-05 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:42 | ------------------------------------ 2021-10-05 22:56:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</node><item-id>item-4c888def-8e08-44bd-aa6c-1ca37e9468b1</item-id><entry><test>item-4c888def-8e08-44bd-aa6c-1ca37e9468b1</test></entry></data> 2021-10-05 22:56:43 | 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-4c888def-8e08-44bd-aa6c-1ca37e9468b1</value></item-id></result> 2021-10-05 22:56:43 | [Mutex] waiting for: [published:item:notifieditem-4c888def-8e08-44bd-aa6c-1ca37e9468b1:admin@test-domain.com] 2021-10-05 22:56:43 | [Mutex] received everything. 2021-10-05 22:56:43 | [Mutex] isItemNotified: published:item:notifieditem-4c888def-8e08-44bd-aa6c-1ca37e9468b1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2021-10-05 22:56:43 |
2021-10-05 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:43 | ------------------------------------ 2021-10-05 22:56:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</node><item-id>item-4c888def-8e08-44bd-aa6c-1ca37e9468b1</item-id></data> 2021-10-05 22:56:43 | 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-4c888def-8e08-44bd-aa6c-1ca37e9468b1</value></item-id></result> 2021-10-05 22:56:43 | [Mutex] received everything. 2021-10-05 22:56:43 | [Mutex] isItemNotified: retracted:item:notifieditem-4c888def-8e08-44bd-aa6c-1ca37e9468b1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.303s |
2021-10-05 22:56:43 |
2021-10-05 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:43 | ------------------------------------ 2021-10-05 22:56:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</node><item-id>item-4c888def-8e08-44bd-aa6c-1ca37e9468b1</item-id></data> 2021-10-05 22:56:43 | 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-28dba7ce-0c0d-4d90-ac61-032eb55d5586</value></node><item-id type="text-single" label="Item ID"><value>item-4c888def-8e08-44bd-aa6c-1ca37e9468b1</value></item-id><item type="text-multi" label="Item"><value><item id="item-4c888def-8e08-44bd-aa6c-1ca37e9468b1"><test>item-4c888def-8e08-44bd-aa6c-1ca37e9468b1</test></item></value></item></result> 2021-10-05 22:56:43 | [Mutex] notify: [retrieved:item:item-4c888def-8e08-44bd-aa6c-1ca37e9468b1:payload-matches:true:localhost] 2021-10-05 22:56:43 | [Mutex] received everything. 2021-10-05 22:56:43 | [Mutex] isItemNotified: retrieved:item:item-4c888def-8e08-44bd-aa6c-1ca37e9468b1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-10-05 22:56:43 |
2021-10-05 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:43 | ------------------------------------ 2021-10-05 22:56:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-05 22:56:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</value><value>test</value><value>node-fcd23d37-7b4b-4b69-90b1-41d4aec2b652</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2021-10-05 22:56:43 |
2021-10-05 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:43 | ------------------------------------ 2021-10-05 22:56:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-28dba7ce-0c0d-4d90-ac61-032eb55d5586)</node-pattern></data> 2021-10-05 22:56:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.184s |
2021-10-05 22:56:41 |
2021-10-05 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:41 | ------------------------------------ 2021-10-05 22:56:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-05 22:56:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2021-10-05 22:56:43 |
2021-10-05 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:56:43 | ------------------------------------ 2021-10-05 22:56:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-28dba7ce-0c0d-4d90-ac61-032eb55d5586</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-05 22:56:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |