Test duration : 9.980s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2020-09-29 23:07:47 |
2020-09-29 23:07:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:47 | ------------------------------------ 2020-09-29 23:07:47 | [Mutex] waiting for: [configured:node:node-949e8dce-014c-493d-8e99-f4149ed77f90:node-a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf] 2020-09-29 23:07:47 | [Mutex] received everything. 2020-09-29 23:07:47 | [Mutex] isItemNotified: configured:node:node-949e8dce-014c-493d-8e99-f4149ed77f90:node-a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf :: true 2020-09-29 23:07:48 | [Mutex] waiting for: [received:nodes:73c9407a-1ca9-4874-a937-3a7f0ead669c:localhost] 2020-09-29 23:07:48 | [Mutex] waiting for: [received:nodes:73c9407a-1ca9-4874-a937-3a7f0ead669c:localhost] 2020-09-29 23:07:48 | [Mutex] received everything. 2020-09-29 23:07:48 | [Mutex] isItemNotified: received:node:73c9407a-1ca9-4874-a937-3a7f0ead669c:localhost:node-949e8dce-014c-493d-8e99-f4149ed77f90:Node 949e8dce-014c-493d-8e99-f4149ed77f90 :: true 2020-09-29 23:07:48 | [Mutex] waiting for: [received:nodes:a3404f7e-6973-46db-b8ca-164f986b8438:localhost] 2020-09-29 23:07:48 | [Mutex] received everything. 2020-09-29 23:07:48 | [Mutex] isItemNotified: received:node:a3404f7e-6973-46db-b8ca-164f986b8438:localhost:node-949e8dce-014c-493d-8e99-f4149ed77f90:Node 949e8dce-014c-493d-8e99-f4149ed77f90 :: false |
createNodes | 1.440s |
2020-09-29 23:07:45 |
2020-09-29 23:07:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:45 | ------------------------------------ 2020-09-29 23:07:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-949e8dce-014c-493d-8e99-f4149ed77f90</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 949e8dce-014c-493d-8e99-f4149ed77f90</title></pubsub></data> 2020-09-29 23:07:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:07:46 | [Mutex] waiting for: [received:nodes:33fc7737-9613-42cc-8e38-754e45e248d9:localhost] 2020-09-29 23:07:46 | [Mutex] received everything. 2020-09-29 23:07:46 | [Mutex] isItemNotified: received:node:33fc7737-9613-42cc-8e38-754e45e248d9:localhost:node-949e8dce-014c-493d-8e99-f4149ed77f90:Node 949e8dce-014c-493d-8e99-f4149ed77f90 :: true |
createSubnodes | 1.041s |
2020-09-29 23:07:46 |
2020-09-29 23:07:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:46 | ------------------------------------ 2020-09-29 23:07:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf</title></pubsub></data> 2020-09-29 23:07:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:07:47 | [Mutex] waiting for: [received:nodes:5f24b646-3219-49fe-bc98-7c6955834a67:localhost] 2020-09-29 23:07:47 | [Mutex] waiting for: [received:nodes:5f24b646-3219-49fe-bc98-7c6955834a67:localhost] 2020-09-29 23:07:47 | [Mutex] received everything. 2020-09-29 23:07:47 | [Mutex] isItemNotified: received:node:5f24b646-3219-49fe-bc98-7c6955834a67:localhost:node-a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf:Node a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf :: true |
deleteNodes | 1.023s |
2020-09-29 23:07:53 |
2020-09-29 23:07:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:53 | ------------------------------------ 2020-09-29 23:07:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf</node></data> 2020-09-29 23:07:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:07:54 | [Mutex] waiting for: [received:nodes:e86d28b1-5c03-46e4-ab09-95454ba5a7b8:localhost] 2020-09-29 23:07:54 | [Mutex] received everything. 2020-09-29 23:07:54 | [Mutex] isItemNotified: received:node:e86d28b1-5c03-46e4-ab09-95454ba5a7b8:localhost:node-a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf:Node a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf :: false |
deleteSubnodes | 1.136s |
2020-09-29 23:07:52 |
2020-09-29 23:07:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:52 | ------------------------------------ 2020-09-29 23:07:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-949e8dce-014c-493d-8e99-f4149ed77f90</node></data> 2020-09-29 23:07:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:07:53 | [Mutex] waiting for: [received:nodes:5c3122d4-1de7-4ea2-b22d-0f60930682d7:localhost] 2020-09-29 23:07:53 | [Mutex] received everything. 2020-09-29 23:07:53 | [Mutex] isItemNotified: received:node:5c3122d4-1de7-4ea2-b22d-0f60930682d7:localhost:node-949e8dce-014c-493d-8e99-f4149ed77f90:Node 949e8dce-014c-493d-8e99-f4149ed77f90 :: false 2020-09-29 23:07:53 | [Mutex] waiting for: [received:nodes:4a1d7aef-ebaa-47b8-ba94-4e20b9335f02:localhost] 2020-09-29 23:07:53 | [Mutex] received everything. 2020-09-29 23:07:53 | [Mutex] isItemNotified: received:node:4a1d7aef-ebaa-47b8-ba94-4e20b9335f02:localhost:node-949e8dce-014c-493d-8e99-f4149ed77f90:Node 949e8dce-014c-493d-8e99-f4149ed77f90 :: false |
publishItemsToNodes | 0.245s |
2020-09-29 23:07:49 |
2020-09-29 23:07:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:49 | ------------------------------------ 2020-09-29 23:07:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-949e8dce-014c-493d-8e99-f4149ed77f90</node><item-id>item-7dd09400-e497-4250-95dd-7637393a949c</item-id><entry><test>item-7dd09400-e497-4250-95dd-7637393a949c</test></entry></data> 2020-09-29 23:07:50 | 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-7dd09400-e497-4250-95dd-7637393a949c</value></item-id></result> 2020-09-29 23:07:50 | [Mutex] received everything. 2020-09-29 23:07:50 | [Mutex] isItemNotified: published:item:notifieditem-7dd09400-e497-4250-95dd-7637393a949c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2020-09-29 23:07:50 |
2020-09-29 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:50 | ------------------------------------ 2020-09-29 23:07:50 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-949e8dce-014c-493d-8e99-f4149ed77f90</node><item-id>item-7dd09400-e497-4250-95dd-7637393a949c</item-id></data> 2020-09-29 23:07:50 | 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-7dd09400-e497-4250-95dd-7637393a949c</value></item-id></result> 2020-09-29 23:07:50 | [Mutex] received everything. 2020-09-29 23:07:50 | [Mutex] isItemNotified: retracted:item:notifieditem-7dd09400-e497-4250-95dd-7637393a949c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.356s |
2020-09-29 23:07:50 |
2020-09-29 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:50 | ------------------------------------ 2020-09-29 23:07:50 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-949e8dce-014c-493d-8e99-f4149ed77f90</node><item-id>item-7dd09400-e497-4250-95dd-7637393a949c</item-id></data> 2020-09-29 23:07:50 | 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-949e8dce-014c-493d-8e99-f4149ed77f90</value></node><item-id label="Item ID" type="text-single"><value>item-7dd09400-e497-4250-95dd-7637393a949c</value></item-id><item label="Item" type="text-multi"><value><item id="item-7dd09400-e497-4250-95dd-7637393a949c"><test>item-7dd09400-e497-4250-95dd-7637393a949c</test></item></value></item></result> 2020-09-29 23:07:50 | [Mutex] notify: [retrieved:item:item-7dd09400-e497-4250-95dd-7637393a949c:payload-matches:true:localhost] 2020-09-29 23:07:50 | [Mutex] received everything. 2020-09-29 23:07:50 | [Mutex] isItemNotified: retrieved:item:item-7dd09400-e497-4250-95dd-7637393a949c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-29 23:07:50 |
2020-09-29 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:50 | ------------------------------------ 2020-09-29 23:07:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-29 23:07:50 | 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-a69d0cac-3cbf-4c06-9d4c-4bdbf6809eaf</value><value>node-949e8dce-014c-493d-8e99-f4149ed77f90</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2020-09-29 23:07:50 |
2020-09-29 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:50 | ------------------------------------ 2020-09-29 23:07:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-949e8dce-014c-493d-8e99-f4149ed77f90)</node-pattern></data> 2020-09-29 23:07:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.100s |
2020-09-29 23:07:48 |
2020-09-29 23:07:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:48 | ------------------------------------ 2020-09-29 23:07:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-949e8dce-014c-493d-8e99-f4149ed77f90</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-29 23:07:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.219s |
2020-09-29 23:07:50 |
2020-09-29 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:07:50 | ------------------------------------ 2020-09-29 23:07:50 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-949e8dce-014c-493d-8e99-f4149ed77f90</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-29 23:07:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |