Test duration : 9.797s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2022-05-02 23:06:39 |
2022-05-02 23:06:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:39 | ------------------------------------ 2022-05-02 23:06:39 | [Mutex] waiting for: [configured:node:node-36d17332-5bce-4dbb-b6dd-6cbb5360179b:node-ce194183-c88f-454d-94b3-02f9d87649e8] 2022-05-02 23:06:39 | [Mutex] received everything. 2022-05-02 23:06:39 | [Mutex] isItemNotified: configured:node:node-36d17332-5bce-4dbb-b6dd-6cbb5360179b:node-ce194183-c88f-454d-94b3-02f9d87649e8 :: true 2022-05-02 23:06:40 | [Mutex] waiting for: [received:nodes:598e90e0-bdde-4aca-8b8c-a421201bde09:localhost] 2022-05-02 23:06:40 | [Mutex] received everything. 2022-05-02 23:06:40 | [Mutex] isItemNotified: received:node:598e90e0-bdde-4aca-8b8c-a421201bde09:localhost:node-36d17332-5bce-4dbb-b6dd-6cbb5360179b:Node 36d17332-5bce-4dbb-b6dd-6cbb5360179b :: true 2022-05-02 23:06:40 | [Mutex] waiting for: [received:nodes:1029ad2d-9992-4729-aa35-bedefcf402ac:localhost] 2022-05-02 23:06:40 | [Mutex] waiting for: [received:nodes:1029ad2d-9992-4729-aa35-bedefcf402ac:localhost] 2022-05-02 23:06:40 | [Mutex] waiting for: [received:nodes:1029ad2d-9992-4729-aa35-bedefcf402ac:localhost] 2022-05-02 23:06:40 | [Mutex] received everything. 2022-05-02 23:06:40 | [Mutex] isItemNotified: received:node:1029ad2d-9992-4729-aa35-bedefcf402ac:localhost:node-36d17332-5bce-4dbb-b6dd-6cbb5360179b:Node 36d17332-5bce-4dbb-b6dd-6cbb5360179b :: false |
createNodes | 1.510s |
2022-05-02 23:06:36 |
2022-05-02 23:06:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:36 | ------------------------------------ 2022-05-02 23:06:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 36d17332-5bce-4dbb-b6dd-6cbb5360179b</title></pubsub></data> 2022-05-02 23:06:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 23:06:38 | [Mutex] waiting for: [received:nodes:e465da8e-02cd-40c8-be4c-9fadd2d3c270:localhost] 2022-05-02 23:06:38 | [Mutex] received everything. 2022-05-02 23:06:38 | [Mutex] isItemNotified: received:node:e465da8e-02cd-40c8-be4c-9fadd2d3c270:localhost:node-36d17332-5bce-4dbb-b6dd-6cbb5360179b:Node 36d17332-5bce-4dbb-b6dd-6cbb5360179b :: true |
createSubnodes | 1.025s |
2022-05-02 23:06:38 |
2022-05-02 23:06:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:38 | ------------------------------------ 2022-05-02 23:06:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ce194183-c88f-454d-94b3-02f9d87649e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ce194183-c88f-454d-94b3-02f9d87649e8</title></pubsub></data> 2022-05-02 23:06:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 23:06:39 | [Mutex] waiting for: [received:nodes:0cdaf64e-f546-4723-a469-dd7f7a94d10c:localhost] 2022-05-02 23:06:39 | [Mutex] received everything. 2022-05-02 23:06:39 | [Mutex] isItemNotified: received:node:0cdaf64e-f546-4723-a469-dd7f7a94d10c:localhost:node-ce194183-c88f-454d-94b3-02f9d87649e8:Node ce194183-c88f-454d-94b3-02f9d87649e8 :: true |
deleteNodes | 1.019s |
2022-05-02 23:06:44 |
2022-05-02 23:06:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:44 | ------------------------------------ 2022-05-02 23:06:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ce194183-c88f-454d-94b3-02f9d87649e8</node></data> 2022-05-02 23:06:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 23:06:45 | [Mutex] waiting for: [received:nodes:20ac80e2-3f9f-494a-99af-519868ba3a92:localhost] 2022-05-02 23:06:45 | [Mutex] waiting for: [received:nodes:20ac80e2-3f9f-494a-99af-519868ba3a92:localhost] 2022-05-02 23:06:45 | [Mutex] waiting for: [received:nodes:20ac80e2-3f9f-494a-99af-519868ba3a92:localhost] 2022-05-02 23:06:45 | [Mutex] received everything. 2022-05-02 23:06:45 | [Mutex] isItemNotified: received:node:20ac80e2-3f9f-494a-99af-519868ba3a92:localhost:node-ce194183-c88f-454d-94b3-02f9d87649e8:Node ce194183-c88f-454d-94b3-02f9d87649e8 :: false |
deleteSubnodes | 1.163s |
2022-05-02 23:06:43 |
2022-05-02 23:06:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:43 | ------------------------------------ 2022-05-02 23:06:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</node></data> 2022-05-02 23:06:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 23:06:44 | [Mutex] waiting for: [received:nodes:9aab72cd-873a-44ba-bacd-14e8f690888b:localhost] 2022-05-02 23:06:44 | [Mutex] received everything. 2022-05-02 23:06:44 | [Mutex] isItemNotified: received:node:9aab72cd-873a-44ba-bacd-14e8f690888b:localhost:node-36d17332-5bce-4dbb-b6dd-6cbb5360179b:Node 36d17332-5bce-4dbb-b6dd-6cbb5360179b :: false 2022-05-02 23:06:44 | [Mutex] waiting for: [received:nodes:5f79836e-abb5-4ae3-8e3f-faaad898b3d6:localhost] 2022-05-02 23:06:44 | [Mutex] received everything. 2022-05-02 23:06:44 | [Mutex] isItemNotified: received:node:5f79836e-abb5-4ae3-8e3f-faaad898b3d6:localhost:node-36d17332-5bce-4dbb-b6dd-6cbb5360179b:Node 36d17332-5bce-4dbb-b6dd-6cbb5360179b :: false |
publishItemsToNodes | 0.222s |
2022-05-02 23:06:41 |
2022-05-02 23:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:41 | ------------------------------------ 2022-05-02 23:06:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</node><item-id>item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</item-id><entry><test>item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</test></entry></data> 2022-05-02 23:06:41 | 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-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</value></item-id></result> 2022-05-02 23:06:41 | [Mutex] received everything. 2022-05-02 23:06:41 | [Mutex] isItemNotified: published:item:notifieditem-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2022-05-02 23:06:41 |
2022-05-02 23:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:41 | ------------------------------------ 2022-05-02 23:06:41 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</node><item-id>item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</item-id></data> 2022-05-02 23:06:42 | 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-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</value></item-id></result> 2022-05-02 23:06:42 | [Mutex] received everything. 2022-05-02 23:06:42 | [Mutex] isItemNotified: retracted:item:notifieditem-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.274s |
2022-05-02 23:06:41 |
2022-05-02 23:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:41 | ------------------------------------ 2022-05-02 23:06:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</node><item-id>item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</item-id></data> 2022-05-02 23:06:41 | 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-36d17332-5bce-4dbb-b6dd-6cbb5360179b</value></node><item-id type="text-single" label="Item ID"><value>item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</value></item-id><item type="text-multi" label="Item"><value><item id="item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2"><test>item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2</test></item></value></item></result> 2022-05-02 23:06:41 | [Mutex] notify: [retrieved:item:item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2:payload-matches:true:localhost] 2022-05-02 23:06:41 | [Mutex] received everything. 2022-05-02 23:06:41 | [Mutex] isItemNotified: retrieved:item:item-43f62f83-a7d0-4cb6-8240-f6c8aed1b6d2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-02 23:06:41 |
2022-05-02 23:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:41 | ------------------------------------ 2022-05-02 23:06:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-02 23:06:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</value><value>test</value><value>node-ce194183-c88f-454d-94b3-02f9d87649e8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-05-02 23:06:41 |
2022-05-02 23:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:41 | ------------------------------------ 2022-05-02 23:06:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-36d17332-5bce-4dbb-b6dd-6cbb5360179b)</node-pattern></data> 2022-05-02 23:06:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.158s |
2022-05-02 23:06:40 |
2022-05-02 23:06:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:40 | ------------------------------------ 2022-05-02 23:06:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-02 23:06:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2022-05-02 23:06:42 |
2022-05-02 23:06:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 23:06:42 | ------------------------------------ 2022-05-02 23:06:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-36d17332-5bce-4dbb-b6dd-6cbb5360179b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-02 23:06:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |