Test duration : 9.832s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2020-08-28 23:18:58 |
2020-08-28 23:18:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:18:58 | ------------------------------------ 2020-08-28 23:18:58 | [Mutex] waiting for: [configured:node:node-61fe66fc-1f70-40d4-a111-a82d9c34dabd:node-0c0a1cdd-681b-480f-8be9-bfb51713ea13] 2020-08-28 23:18:58 | [Mutex] received everything. 2020-08-28 23:18:58 | [Mutex] isItemNotified: configured:node:node-61fe66fc-1f70-40d4-a111-a82d9c34dabd:node-0c0a1cdd-681b-480f-8be9-bfb51713ea13 :: true 2020-08-28 23:18:59 | [Mutex] waiting for: [received:nodes:0b395caf-3ab3-4c23-8bb8-2c150025ac85:localhost] 2020-08-28 23:18:59 | [Mutex] received everything. 2020-08-28 23:18:59 | [Mutex] isItemNotified: received:node:0b395caf-3ab3-4c23-8bb8-2c150025ac85:localhost:node-61fe66fc-1f70-40d4-a111-a82d9c34dabd:Node 61fe66fc-1f70-40d4-a111-a82d9c34dabd :: true 2020-08-28 23:18:59 | [Mutex] waiting for: [received:nodes:03eab764-8b71-493b-968c-187d07def29b:localhost] 2020-08-28 23:18:59 | [Mutex] waiting for: [received:nodes:03eab764-8b71-493b-968c-187d07def29b:localhost] 2020-08-28 23:18:59 | [Mutex] waiting for: [received:nodes:03eab764-8b71-493b-968c-187d07def29b:localhost] 2020-08-28 23:18:59 | [Mutex] waiting for: [received:nodes:03eab764-8b71-493b-968c-187d07def29b:localhost] 2020-08-28 23:18:59 | [Mutex] received everything. 2020-08-28 23:18:59 | [Mutex] isItemNotified: received:node:03eab764-8b71-493b-968c-187d07def29b:localhost:node-61fe66fc-1f70-40d4-a111-a82d9c34dabd:Node 61fe66fc-1f70-40d4-a111-a82d9c34dabd :: false |
createNodes | 1.408s |
2020-08-28 23:18:56 |
2020-08-28 23:18:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:18:56 | ------------------------------------ 2020-08-28 23:18:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 61fe66fc-1f70-40d4-a111-a82d9c34dabd</title></pubsub></data> 2020-08-28 23:18:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 23:18:57 | [Mutex] waiting for: [received:nodes:e7638c7d-3e38-4ee3-bf87-322e46b6711f:localhost] 2020-08-28 23:18:57 | [Mutex] received everything. 2020-08-28 23:18:57 | [Mutex] isItemNotified: received:node:e7638c7d-3e38-4ee3-bf87-322e46b6711f:localhost:node-61fe66fc-1f70-40d4-a111-a82d9c34dabd:Node 61fe66fc-1f70-40d4-a111-a82d9c34dabd :: true |
createSubnodes | 1.030s |
2020-08-28 23:18:57 |
2020-08-28 23:18:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:18:57 | ------------------------------------ 2020-08-28 23:18:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0c0a1cdd-681b-480f-8be9-bfb51713ea13</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0c0a1cdd-681b-480f-8be9-bfb51713ea13</title></pubsub></data> 2020-08-28 23:18:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 23:18:58 | [Mutex] waiting for: [received:nodes:c562acdb-defc-4fbb-92ac-a1a3b8eb8fed:localhost] 2020-08-28 23:18:58 | [Mutex] received everything. 2020-08-28 23:18:58 | [Mutex] isItemNotified: received:node:c562acdb-defc-4fbb-92ac-a1a3b8eb8fed:localhost:node-0c0a1cdd-681b-480f-8be9-bfb51713ea13:Node 0c0a1cdd-681b-480f-8be9-bfb51713ea13 :: true |
deleteNodes | 1.016s |
2020-08-28 23:19:03 |
2020-08-28 23:19:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:03 | ------------------------------------ 2020-08-28 23:19:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0c0a1cdd-681b-480f-8be9-bfb51713ea13</node></data> 2020-08-28 23:19:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 23:19:04 | [Mutex] waiting for: [received:nodes:d4d0b32c-4a8b-4d75-a916-4ce2a61ed1ee:localhost] 2020-08-28 23:19:04 | [Mutex] received everything. 2020-08-28 23:19:04 | [Mutex] isItemNotified: received:node:d4d0b32c-4a8b-4d75-a916-4ce2a61ed1ee:localhost:node-0c0a1cdd-681b-480f-8be9-bfb51713ea13:Node 0c0a1cdd-681b-480f-8be9-bfb51713ea13 :: false |
deleteSubnodes | 1.123s |
2020-08-28 23:19:02 |
2020-08-28 23:19:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:02 | ------------------------------------ 2020-08-28 23:19:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</node></data> 2020-08-28 23:19:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 23:19:03 | [Mutex] waiting for: [received:nodes:16a925e7-fa15-4aad-8f10-6afea1875382:localhost] 2020-08-28 23:19:03 | [Mutex] received everything. 2020-08-28 23:19:03 | [Mutex] isItemNotified: received:node:16a925e7-fa15-4aad-8f10-6afea1875382:localhost:node-61fe66fc-1f70-40d4-a111-a82d9c34dabd:Node 61fe66fc-1f70-40d4-a111-a82d9c34dabd :: false 2020-08-28 23:19:03 | [Mutex] waiting for: [received:nodes:e391e7c0-00b7-4f64-94bd-378783f9a815:localhost] 2020-08-28 23:19:03 | [Mutex] received everything. 2020-08-28 23:19:03 | [Mutex] isItemNotified: received:node:e391e7c0-00b7-4f64-94bd-378783f9a815:localhost:node-61fe66fc-1f70-40d4-a111-a82d9c34dabd:Node 61fe66fc-1f70-40d4-a111-a82d9c34dabd :: false |
publishItemsToNodes | 0.221s |
2020-08-28 23:19:00 |
2020-08-28 23:19:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:00 | ------------------------------------ 2020-08-28 23:19:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</node><item-id>item-4083194b-7042-4d81-b634-40dd35eb8029</item-id><entry><test>item-4083194b-7042-4d81-b634-40dd35eb8029</test></entry></data> 2020-08-28 23:19:00 | 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-4083194b-7042-4d81-b634-40dd35eb8029</value></item-id></result> 2020-08-28 23:19:00 | [Mutex] received everything. 2020-08-28 23:19:00 | [Mutex] isItemNotified: published:item:notifieditem-4083194b-7042-4d81-b634-40dd35eb8029:admin@test-domain.com :: true |
retractItemsFromNodes | 0.278s |
2020-08-28 23:19:01 |
2020-08-28 23:19:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:01 | ------------------------------------ 2020-08-28 23:19:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</node><item-id>item-4083194b-7042-4d81-b634-40dd35eb8029</item-id></data> 2020-08-28 23:19:01 | 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-4083194b-7042-4d81-b634-40dd35eb8029</value></item-id></result> 2020-08-28 23:19:01 | [Mutex] received everything. 2020-08-28 23:19:01 | [Mutex] isItemNotified: retracted:item:notifieditem-4083194b-7042-4d81-b634-40dd35eb8029:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.283s |
2020-08-28 23:19:00 |
2020-08-28 23:19:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:00 | ------------------------------------ 2020-08-28 23:19:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</node><item-id>item-4083194b-7042-4d81-b634-40dd35eb8029</item-id></data> 2020-08-28 23:19:01 | 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-61fe66fc-1f70-40d4-a111-a82d9c34dabd</value></node><item-id label="Item ID" type="text-single"><value>item-4083194b-7042-4d81-b634-40dd35eb8029</value></item-id><item label="Item" type="text-multi"><value><item id="item-4083194b-7042-4d81-b634-40dd35eb8029"><test>item-4083194b-7042-4d81-b634-40dd35eb8029</test></item></value></item></result> 2020-08-28 23:19:01 | [Mutex] notify: [retrieved:item:item-4083194b-7042-4d81-b634-40dd35eb8029:payload-matches:true:localhost] 2020-08-28 23:19:01 | [Mutex] received everything. 2020-08-28 23:19:01 | [Mutex] isItemNotified: retrieved:item:item-4083194b-7042-4d81-b634-40dd35eb8029:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-08-28 23:19:01 |
2020-08-28 23:19:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:01 | ------------------------------------ 2020-08-28 23:19:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-28 23:19:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</value><value>test</value><value>node-0c0a1cdd-681b-480f-8be9-bfb51713ea13</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-08-28 23:19:01 |
2020-08-28 23:19:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:01 | ------------------------------------ 2020-08-28 23:19:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-61fe66fc-1f70-40d4-a111-a82d9c34dabd)</node-pattern></data> 2020-08-28 23:19:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.082s |
2020-08-28 23:18:59 |
2020-08-28 23:18:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:18:59 | ------------------------------------ 2020-08-28 23:18:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-28 23:18:59 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.251s |
2020-08-28 23:19:01 |
2020-08-28 23:19:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 23:19:01 | ------------------------------------ 2020-08-28 23:19:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-61fe66fc-1f70-40d4-a111-a82d9c34dabd</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-28 23:19:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |