Test duration : 10.120s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.140s |
2020-11-30 21:37:41 |
2020-11-30 21:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:41 | ------------------------------------ 2020-11-30 21:37:41 | [Mutex] waiting for: [configured:node:node-b069b7c8-2263-4801-a9eb-ffed70c92d3c:node-5e69531d-7885-4cac-800e-968be0010a12] 2020-11-30 21:37:41 | [Mutex] received everything. 2020-11-30 21:37:41 | [Mutex] isItemNotified: configured:node:node-b069b7c8-2263-4801-a9eb-ffed70c92d3c:node-5e69531d-7885-4cac-800e-968be0010a12 :: true 2020-11-30 21:37:42 | [Mutex] waiting for: [received:nodes:f1b106ae-dcbc-413e-a168-74c8a27d1884:localhost] 2020-11-30 21:37:42 | [Mutex] received everything. 2020-11-30 21:37:42 | [Mutex] isItemNotified: received:node:f1b106ae-dcbc-413e-a168-74c8a27d1884:localhost:node-b069b7c8-2263-4801-a9eb-ffed70c92d3c:Node b069b7c8-2263-4801-a9eb-ffed70c92d3c :: true 2020-11-30 21:37:42 | [Mutex] waiting for: [received:nodes:0f36355c-939b-44b1-956e-37363340d0ba:localhost] 2020-11-30 21:37:42 | [Mutex] waiting for: [received:nodes:0f36355c-939b-44b1-956e-37363340d0ba:localhost] 2020-11-30 21:37:42 | [Mutex] received everything. 2020-11-30 21:37:42 | [Mutex] isItemNotified: received:node:0f36355c-939b-44b1-956e-37363340d0ba:localhost:node-b069b7c8-2263-4801-a9eb-ffed70c92d3c:Node b069b7c8-2263-4801-a9eb-ffed70c92d3c :: false |
createNodes | 1.537s |
2020-11-30 21:37:39 |
2020-11-30 21:37:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:39 | ------------------------------------ 2020-11-30 21:37:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b069b7c8-2263-4801-a9eb-ffed70c92d3c</title></pubsub></data> 2020-11-30 21:37:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:37:40 | [Mutex] waiting for: [received:nodes:cbde421a-5c95-4519-aa85-15dd7539af72:localhost] 2020-11-30 21:37:40 | [Mutex] received everything. 2020-11-30 21:37:40 | [Mutex] isItemNotified: received:node:cbde421a-5c95-4519-aa85-15dd7539af72:localhost:node-b069b7c8-2263-4801-a9eb-ffed70c92d3c:Node b069b7c8-2263-4801-a9eb-ffed70c92d3c :: true |
createSubnodes | 1.029s |
2020-11-30 21:37:40 |
2020-11-30 21:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:40 | ------------------------------------ 2020-11-30 21:37:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5e69531d-7885-4cac-800e-968be0010a12</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5e69531d-7885-4cac-800e-968be0010a12</title></pubsub></data> 2020-11-30 21:37:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:37:41 | [Mutex] waiting for: [received:nodes:34dcdf6d-2117-4c62-ba71-6621b8ac8491:localhost] 2020-11-30 21:37:41 | [Mutex] received everything. 2020-11-30 21:37:41 | [Mutex] isItemNotified: received:node:34dcdf6d-2117-4c62-ba71-6621b8ac8491:localhost:node-5e69531d-7885-4cac-800e-968be0010a12:Node 5e69531d-7885-4cac-800e-968be0010a12 :: true |
deleteNodes | 1.018s |
2020-11-30 21:37:47 |
2020-11-30 21:37:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:47 | ------------------------------------ 2020-11-30 21:37:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5e69531d-7885-4cac-800e-968be0010a12</node></data> 2020-11-30 21:37:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:37:48 | [Mutex] waiting for: [received:nodes:c9ac18bc-2d12-4d01-9588-299694edbb9e:localhost] 2020-11-30 21:37:48 | [Mutex] received everything. 2020-11-30 21:37:48 | [Mutex] isItemNotified: received:node:c9ac18bc-2d12-4d01-9588-299694edbb9e:localhost:node-5e69531d-7885-4cac-800e-968be0010a12:Node 5e69531d-7885-4cac-800e-968be0010a12 :: false |
deleteSubnodes | 1.115s |
2020-11-30 21:37:46 |
2020-11-30 21:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:46 | ------------------------------------ 2020-11-30 21:37:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</node></data> 2020-11-30 21:37:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:37:47 | [Mutex] waiting for: [received:nodes:c2ce0b4a-8f58-49a5-ba42-a8301a681258:localhost] 2020-11-30 21:37:47 | [Mutex] waiting for: [received:nodes:c2ce0b4a-8f58-49a5-ba42-a8301a681258:localhost] 2020-11-30 21:37:47 | [Mutex] received everything. 2020-11-30 21:37:47 | [Mutex] isItemNotified: received:node:c2ce0b4a-8f58-49a5-ba42-a8301a681258:localhost:node-b069b7c8-2263-4801-a9eb-ffed70c92d3c:Node b069b7c8-2263-4801-a9eb-ffed70c92d3c :: false 2020-11-30 21:37:47 | [Mutex] waiting for: [received:nodes:2c704bc6-97c6-4404-bc34-aa1e44760fe3:localhost] 2020-11-30 21:37:47 | [Mutex] received everything. 2020-11-30 21:37:47 | [Mutex] isItemNotified: received:node:2c704bc6-97c6-4404-bc34-aa1e44760fe3:localhost:node-b069b7c8-2263-4801-a9eb-ffed70c92d3c:Node b069b7c8-2263-4801-a9eb-ffed70c92d3c :: false |
publishItemsToNodes | 0.188s |
2020-11-30 21:37:44 |
2020-11-30 21:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:44 | ------------------------------------ 2020-11-30 21:37:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</node><item-id>item-9109fdeb-1a8d-4fe5-abda-72e83dccc194</item-id><entry><test>item-9109fdeb-1a8d-4fe5-abda-72e83dccc194</test></entry></data> 2020-11-30 21:37:44 | 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-9109fdeb-1a8d-4fe5-abda-72e83dccc194</value></item-id></result> 2020-11-30 21:37:44 | [Mutex] waiting for: [published:item:notifieditem-9109fdeb-1a8d-4fe5-abda-72e83dccc194:admin@test-domain.com] 2020-11-30 21:37:44 | [Mutex] received everything. 2020-11-30 21:37:44 | [Mutex] isItemNotified: published:item:notifieditem-9109fdeb-1a8d-4fe5-abda-72e83dccc194:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2020-11-30 21:37:44 |
2020-11-30 21:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:44 | ------------------------------------ 2020-11-30 21:37:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</node><item-id>item-9109fdeb-1a8d-4fe5-abda-72e83dccc194</item-id></data> 2020-11-30 21:37:44 | 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-9109fdeb-1a8d-4fe5-abda-72e83dccc194</value></item-id></result> 2020-11-30 21:37:44 | [Mutex] received everything. 2020-11-30 21:37:44 | [Mutex] isItemNotified: retracted:item:notifieditem-9109fdeb-1a8d-4fe5-abda-72e83dccc194:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.211s |
2020-11-30 21:37:44 |
2020-11-30 21:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:44 | ------------------------------------ 2020-11-30 21:37:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</node><item-id>item-9109fdeb-1a8d-4fe5-abda-72e83dccc194</item-id></data> 2020-11-30 21:37:44 | 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-b069b7c8-2263-4801-a9eb-ffed70c92d3c</value></node><item-id label="Item ID" type="text-single"><value>item-9109fdeb-1a8d-4fe5-abda-72e83dccc194</value></item-id><item label="Item" type="text-multi"><value><item id="item-9109fdeb-1a8d-4fe5-abda-72e83dccc194"><test>item-9109fdeb-1a8d-4fe5-abda-72e83dccc194</test></item></value></item></result> 2020-11-30 21:37:44 | [Mutex] notify: [retrieved:item:item-9109fdeb-1a8d-4fe5-abda-72e83dccc194:payload-matches:true:localhost] 2020-11-30 21:37:44 | [Mutex] received everything. 2020-11-30 21:37:44 | [Mutex] isItemNotified: retrieved:item:item-9109fdeb-1a8d-4fe5-abda-72e83dccc194:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-30 21:37:44 |
2020-11-30 21:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:44 | ------------------------------------ 2020-11-30 21:37:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-30 21:37:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-5e69531d-7885-4cac-800e-968be0010a12</value><value>test</value><value>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-11-30 21:37:44 |
2020-11-30 21:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:44 | ------------------------------------ 2020-11-30 21:37: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-b069b7c8-2263-4801-a9eb-ffed70c92d3c)</node-pattern></data> 2020-11-30 21:37:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.097s |
2020-11-30 21:37:42 |
2020-11-30 21:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:42 | ------------------------------------ 2020-11-30 21:37:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-30 21:37:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2020-11-30 21:37:44 |
2020-11-30 21:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:37:44 | ------------------------------------ 2020-11-30 21:37:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b069b7c8-2263-4801-a9eb-ffed70c92d3c</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-30 21:37:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |