Test duration : 9.925s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2020-09-28 22:41:41 |
2020-09-28 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:41 | ------------------------------------ 2020-09-28 22:41:41 | [Mutex] waiting for: [configured:node:node-558a9add-6409-4c00-a12e-0851e6d37394:node-943f7f0d-a71d-4486-ac19-f7dbe7781469] 2020-09-28 22:41:41 | [Mutex] received everything. 2020-09-28 22:41:41 | [Mutex] isItemNotified: configured:node:node-558a9add-6409-4c00-a12e-0851e6d37394:node-943f7f0d-a71d-4486-ac19-f7dbe7781469 :: true 2020-09-28 22:41:42 | [Mutex] waiting for: [received:nodes:71fe6261-f2dc-43cd-be20-04a817f1509a:localhost] 2020-09-28 22:41:42 | [Mutex] received everything. 2020-09-28 22:41:42 | [Mutex] isItemNotified: received:node:71fe6261-f2dc-43cd-be20-04a817f1509a:localhost:node-558a9add-6409-4c00-a12e-0851e6d37394:Node 558a9add-6409-4c00-a12e-0851e6d37394 :: true 2020-09-28 22:41:42 | [Mutex] waiting for: [received:nodes:beb6beeb-f21f-4682-a842-3f4aecc4f22d:localhost] 2020-09-28 22:41:42 | [Mutex] received everything. 2020-09-28 22:41:42 | [Mutex] isItemNotified: received:node:beb6beeb-f21f-4682-a842-3f4aecc4f22d:localhost:node-558a9add-6409-4c00-a12e-0851e6d37394:Node 558a9add-6409-4c00-a12e-0851e6d37394 :: false |
createNodes | 1.486s |
2020-09-28 22:41:39 |
2020-09-28 22:41:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:39 | ------------------------------------ 2020-09-28 22:41:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-558a9add-6409-4c00-a12e-0851e6d37394</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 558a9add-6409-4c00-a12e-0851e6d37394</title></pubsub></data> 2020-09-28 22:41:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:41:40 | [Mutex] waiting for: [received:nodes:c999fab8-18d1-453c-9271-9fa9b4a5977e:localhost] 2020-09-28 22:41:40 | [Mutex] received everything. 2020-09-28 22:41:40 | [Mutex] isItemNotified: received:node:c999fab8-18d1-453c-9271-9fa9b4a5977e:localhost:node-558a9add-6409-4c00-a12e-0851e6d37394:Node 558a9add-6409-4c00-a12e-0851e6d37394 :: true |
createSubnodes | 1.026s |
2020-09-28 22:41:40 |
2020-09-28 22:41:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:40 | ------------------------------------ 2020-09-28 22:41:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-943f7f0d-a71d-4486-ac19-f7dbe7781469</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 943f7f0d-a71d-4486-ac19-f7dbe7781469</title></pubsub></data> 2020-09-28 22:41:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:41:41 | [Mutex] waiting for: [received:nodes:55a2a9c2-6686-4abb-80c1-00096808172c:localhost] 2020-09-28 22:41:41 | [Mutex] received everything. 2020-09-28 22:41:41 | [Mutex] isItemNotified: received:node:55a2a9c2-6686-4abb-80c1-00096808172c:localhost:node-943f7f0d-a71d-4486-ac19-f7dbe7781469:Node 943f7f0d-a71d-4486-ac19-f7dbe7781469 :: true |
deleteNodes | 1.017s |
2020-09-28 22:41:47 |
2020-09-28 22:41:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:47 | ------------------------------------ 2020-09-28 22:41:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-943f7f0d-a71d-4486-ac19-f7dbe7781469</node></data> 2020-09-28 22:41:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:41:48 | [Mutex] waiting for: [received:nodes:0fef13eb-9cee-417e-8b50-7620cd68919a:localhost] 2020-09-28 22:41:48 | [Mutex] received everything. 2020-09-28 22:41:48 | [Mutex] isItemNotified: received:node:0fef13eb-9cee-417e-8b50-7620cd68919a:localhost:node-943f7f0d-a71d-4486-ac19-f7dbe7781469:Node 943f7f0d-a71d-4486-ac19-f7dbe7781469 :: false |
deleteSubnodes | 1.176s |
2020-09-28 22:41:45 |
2020-09-28 22:41:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:45 | ------------------------------------ 2020-09-28 22:41:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-558a9add-6409-4c00-a12e-0851e6d37394</node></data> 2020-09-28 22:41:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:41:47 | [Mutex] waiting for: [received:nodes:f7e2acfb-c6c5-435f-bf0e-ee098e730e7c:localhost] 2020-09-28 22:41:47 | [Mutex] received everything. 2020-09-28 22:41:47 | [Mutex] isItemNotified: received:node:f7e2acfb-c6c5-435f-bf0e-ee098e730e7c:localhost:node-558a9add-6409-4c00-a12e-0851e6d37394:Node 558a9add-6409-4c00-a12e-0851e6d37394 :: false 2020-09-28 22:41:47 | [Mutex] waiting for: [received:nodes:d0def42c-fa8a-4e5e-86e1-a9725d801963:localhost] 2020-09-28 22:41:47 | [Mutex] received everything. 2020-09-28 22:41:47 | [Mutex] isItemNotified: received:node:d0def42c-fa8a-4e5e-86e1-a9725d801963:localhost:node-558a9add-6409-4c00-a12e-0851e6d37394:Node 558a9add-6409-4c00-a12e-0851e6d37394 :: false |
publishItemsToNodes | 0.177s |
2020-09-28 22:41:43 |
2020-09-28 22:41:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:43 | ------------------------------------ 2020-09-28 22:41:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-558a9add-6409-4c00-a12e-0851e6d37394</node><item-id>item-4e8da482-aedf-494b-86b2-49ad9d100dfa</item-id><entry><test>item-4e8da482-aedf-494b-86b2-49ad9d100dfa</test></entry></data> 2020-09-28 22:41: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-4e8da482-aedf-494b-86b2-49ad9d100dfa</value></item-id></result> 2020-09-28 22:41:44 | [Mutex] received everything. 2020-09-28 22:41:44 | [Mutex] isItemNotified: published:item:notifieditem-4e8da482-aedf-494b-86b2-49ad9d100dfa:admin@test-domain.com :: true |
retractItemsFromNodes | 0.179s |
2020-09-28 22:41:44 |
2020-09-28 22:41:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:44 | ------------------------------------ 2020-09-28 22:41:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-558a9add-6409-4c00-a12e-0851e6d37394</node><item-id>item-4e8da482-aedf-494b-86b2-49ad9d100dfa</item-id></data> 2020-09-28 22:41: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-4e8da482-aedf-494b-86b2-49ad9d100dfa</value></item-id></result> 2020-09-28 22:41:44 | [Mutex] received everything. 2020-09-28 22:41:44 | [Mutex] isItemNotified: retracted:item:notifieditem-4e8da482-aedf-494b-86b2-49ad9d100dfa:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.293s |
2020-09-28 22:41:44 |
2020-09-28 22:41:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:44 | ------------------------------------ 2020-09-28 22:41:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-558a9add-6409-4c00-a12e-0851e6d37394</node><item-id>item-4e8da482-aedf-494b-86b2-49ad9d100dfa</item-id></data> 2020-09-28 22:41: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-558a9add-6409-4c00-a12e-0851e6d37394</value></node><item-id label="Item ID" type="text-single"><value>item-4e8da482-aedf-494b-86b2-49ad9d100dfa</value></item-id><item label="Item" type="text-multi"><value><item id="item-4e8da482-aedf-494b-86b2-49ad9d100dfa"><test>item-4e8da482-aedf-494b-86b2-49ad9d100dfa</test></item></value></item></result> 2020-09-28 22:41:44 | [Mutex] notify: [retrieved:item:item-4e8da482-aedf-494b-86b2-49ad9d100dfa:payload-matches:true:localhost] 2020-09-28 22:41:44 | [Mutex] received everything. 2020-09-28 22:41:44 | [Mutex] isItemNotified: retrieved:item:item-4e8da482-aedf-494b-86b2-49ad9d100dfa:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-09-28 22:41:44 |
2020-09-28 22:41:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:44 | ------------------------------------ 2020-09-28 22:41:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-28 22:41:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-943f7f0d-a71d-4486-ac19-f7dbe7781469</value><value>test</value><value>node-558a9add-6409-4c00-a12e-0851e6d37394</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-28 22:41:44 |
2020-09-28 22:41:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:44 | ------------------------------------ 2020-09-28 22:41: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-558a9add-6409-4c00-a12e-0851e6d37394)</node-pattern></data> 2020-09-28 22:41:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.120s |
2020-09-28 22:41:42 |
2020-09-28 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:42 | ------------------------------------ 2020-09-28 22:41:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-558a9add-6409-4c00-a12e-0851e6d37394</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 22:41: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.252s |
2020-09-28 22:41:44 |
2020-09-28 22:41:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:41:44 | ------------------------------------ 2020-09-28 22:41:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-558a9add-6409-4c00-a12e-0851e6d37394</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 22:41:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |