Test duration : 9.503s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2022-07-09 23:04:41 |
2022-07-09 23:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:41 | ------------------------------------ 2022-07-09 23:04:41 | [Mutex] waiting for: [configured:node:node-a82284b5-dcd5-4255-b486-8d233f383737:node-7fa069ac-cea8-492f-b84f-c1936c0e1e41] 2022-07-09 23:04:41 | [Mutex] received everything. 2022-07-09 23:04:41 | [Mutex] isItemNotified: configured:node:node-a82284b5-dcd5-4255-b486-8d233f383737:node-7fa069ac-cea8-492f-b84f-c1936c0e1e41 :: true 2022-07-09 23:04:42 | [Mutex] waiting for: [received:nodes:3de61fe9-afa9-4a8b-a5b9-c3ec6c9d9715:localhost] 2022-07-09 23:04:42 | [Mutex] received everything. 2022-07-09 23:04:42 | [Mutex] isItemNotified: received:node:3de61fe9-afa9-4a8b-a5b9-c3ec6c9d9715:localhost:node-a82284b5-dcd5-4255-b486-8d233f383737:Node a82284b5-dcd5-4255-b486-8d233f383737 :: true 2022-07-09 23:04:42 | [Mutex] waiting for: [received:nodes:98758386-2040-437d-9a65-c3493c446023:localhost] 2022-07-09 23:04:42 | [Mutex] received everything. 2022-07-09 23:04:42 | [Mutex] isItemNotified: received:node:98758386-2040-437d-9a65-c3493c446023:localhost:node-a82284b5-dcd5-4255-b486-8d233f383737:Node a82284b5-dcd5-4255-b486-8d233f383737 :: false |
createNodes | 1.448s |
2022-07-09 23:04:39 |
2022-07-09 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:39 | ------------------------------------ 2022-07-09 23:04:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a82284b5-dcd5-4255-b486-8d233f383737</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a82284b5-dcd5-4255-b486-8d233f383737</title></pubsub></data> 2022-07-09 23:04:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 23:04:40 | [Mutex] waiting for: [received:nodes:b22ec242-a7f7-4752-a4f8-04983d652330:localhost] 2022-07-09 23:04:40 | [Mutex] waiting for: [received:nodes:b22ec242-a7f7-4752-a4f8-04983d652330:localhost] 2022-07-09 23:04:40 | [Mutex] received everything. 2022-07-09 23:04:40 | [Mutex] isItemNotified: received:node:b22ec242-a7f7-4752-a4f8-04983d652330:localhost:node-a82284b5-dcd5-4255-b486-8d233f383737:Node a82284b5-dcd5-4255-b486-8d233f383737 :: true |
createSubnodes | 1.023s |
2022-07-09 23:04:40 |
2022-07-09 23:04:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:40 | ------------------------------------ 2022-07-09 23:04:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7fa069ac-cea8-492f-b84f-c1936c0e1e41</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7fa069ac-cea8-492f-b84f-c1936c0e1e41</title></pubsub></data> 2022-07-09 23:04:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 23:04:41 | [Mutex] waiting for: [received:nodes:160ace6b-3c93-4a6d-a359-19032a5b92eb:localhost] 2022-07-09 23:04:41 | [Mutex] received everything. 2022-07-09 23:04:41 | [Mutex] isItemNotified: received:node:160ace6b-3c93-4a6d-a359-19032a5b92eb:localhost:node-7fa069ac-cea8-492f-b84f-c1936c0e1e41:Node 7fa069ac-cea8-492f-b84f-c1936c0e1e41 :: true |
deleteNodes | 1.017s |
2022-07-09 23:04:47 |
2022-07-09 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:47 | ------------------------------------ 2022-07-09 23:04:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7fa069ac-cea8-492f-b84f-c1936c0e1e41</node></data> 2022-07-09 23:04:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 23:04:48 | [Mutex] waiting for: [received:nodes:16264317-dbea-44a1-8c8a-a6ef9ecb4056:localhost] 2022-07-09 23:04:48 | [Mutex] waiting for: [received:nodes:16264317-dbea-44a1-8c8a-a6ef9ecb4056:localhost] 2022-07-09 23:04:48 | [Mutex] received everything. 2022-07-09 23:04:48 | [Mutex] isItemNotified: received:node:16264317-dbea-44a1-8c8a-a6ef9ecb4056:localhost:node-7fa069ac-cea8-492f-b84f-c1936c0e1e41:Node 7fa069ac-cea8-492f-b84f-c1936c0e1e41 :: false |
deleteSubnodes | 1.127s |
2022-07-09 23:04:45 |
2022-07-09 23:04:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:45 | ------------------------------------ 2022-07-09 23:04:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a82284b5-dcd5-4255-b486-8d233f383737</node></data> 2022-07-09 23:04:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 23:04:47 | [Mutex] waiting for: [received:nodes:5ada005c-d6a7-4bdf-8f99-1f3a7e39849a:localhost] 2022-07-09 23:04:47 | [Mutex] waiting for: [received:nodes:5ada005c-d6a7-4bdf-8f99-1f3a7e39849a:localhost] 2022-07-09 23:04:47 | [Mutex] waiting for: [received:nodes:5ada005c-d6a7-4bdf-8f99-1f3a7e39849a:localhost] 2022-07-09 23:04:47 | [Mutex] received everything. 2022-07-09 23:04:47 | [Mutex] isItemNotified: received:node:5ada005c-d6a7-4bdf-8f99-1f3a7e39849a:localhost:node-a82284b5-dcd5-4255-b486-8d233f383737:Node a82284b5-dcd5-4255-b486-8d233f383737 :: false 2022-07-09 23:04:47 | [Mutex] waiting for: [received:nodes:8e4afc0a-1b22-448e-a273-b692ea9624d0:localhost] 2022-07-09 23:04:47 | [Mutex] received everything. 2022-07-09 23:04:47 | [Mutex] isItemNotified: received:node:8e4afc0a-1b22-448e-a273-b692ea9624d0:localhost:node-a82284b5-dcd5-4255-b486-8d233f383737:Node a82284b5-dcd5-4255-b486-8d233f383737 :: false |
publishItemsToNodes | 0.271s |
2022-07-09 23:04:43 |
2022-07-09 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:43 | ------------------------------------ 2022-07-09 23:04:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a82284b5-dcd5-4255-b486-8d233f383737</node><item-id>item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</item-id><entry><test>item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</test></entry></data> 2022-07-09 23:04:44 | 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-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</value></item-id></result> 2022-07-09 23:04:44 | [Mutex] waiting for: [published:item:notifieditem-54f4bd59-917d-44f5-bf4d-911bcb3da5e3:admin@test-domain.com] 2022-07-09 23:04:44 | [Mutex] received everything. 2022-07-09 23:04:44 | [Mutex] isItemNotified: published:item:notifieditem-54f4bd59-917d-44f5-bf4d-911bcb3da5e3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2022-07-09 23:04:44 |
2022-07-09 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:44 | ------------------------------------ 2022-07-09 23:04:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a82284b5-dcd5-4255-b486-8d233f383737</node><item-id>item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</item-id></data> 2022-07-09 23:04:44 | 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-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</value></item-id></result> 2022-07-09 23:04:44 | [Mutex] received everything. 2022-07-09 23:04:44 | [Mutex] isItemNotified: retracted:item:notifieditem-54f4bd59-917d-44f5-bf4d-911bcb3da5e3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.214s |
2022-07-09 23:04:44 |
2022-07-09 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:44 | ------------------------------------ 2022-07-09 23:04:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a82284b5-dcd5-4255-b486-8d233f383737</node><item-id>item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</item-id></data> 2022-07-09 23:04:44 | 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-a82284b5-dcd5-4255-b486-8d233f383737</value></node><item-id type="text-single" label="Item ID"><value>item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</value></item-id><item type="text-multi" label="Item"><value><item id="item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3"><test>item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3</test></item></value></item></result> 2022-07-09 23:04:44 | [Mutex] notify: [retrieved:item:item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3:payload-matches:true:localhost] 2022-07-09 23:04:44 | [Mutex] received everything. 2022-07-09 23:04:44 | [Mutex] isItemNotified: retrieved:item:item-54f4bd59-917d-44f5-bf4d-911bcb3da5e3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-09 23:04:44 |
2022-07-09 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:44 | ------------------------------------ 2022-07-09 23:04:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-09 23:04:44 | 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-a82284b5-dcd5-4255-b486-8d233f383737</value><value>node-7fa069ac-cea8-492f-b84f-c1936c0e1e41</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.103s |
2022-07-09 23:04:44 |
2022-07-09 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:44 | ------------------------------------ 2022-07-09 23:04:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a82284b5-dcd5-4255-b486-8d233f383737)</node-pattern></data> 2022-07-09 23:04:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.164s |
2022-07-09 23:04:42 |
2022-07-09 23:04:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:42 | ------------------------------------ 2022-07-09 23:04:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a82284b5-dcd5-4255-b486-8d233f383737</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-09 23:04:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.132s |
2022-07-09 23:04:44 |
2022-07-09 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 23:04:44 | ------------------------------------ 2022-07-09 23:04:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a82284b5-dcd5-4255-b486-8d233f383737</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-09 23:04:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |