Test duration : 9.924s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2021-02-02 22:00:50 |
2021-02-02 22:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:50 | ------------------------------------ 2021-02-02 22:00:50 | [Mutex] waiting for: [configured:node:node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6:node-c7a55603-9919-4013-ba0f-6d1fc984c99d] 2021-02-02 22:00:50 | [Mutex] received everything. 2021-02-02 22:00:50 | [Mutex] isItemNotified: configured:node:node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6:node-c7a55603-9919-4013-ba0f-6d1fc984c99d :: true 2021-02-02 22:00:51 | [Mutex] waiting for: [received:nodes:0b80f128-687f-4f40-9b6a-c49340420428:localhost] 2021-02-02 22:00:51 | [Mutex] received everything. 2021-02-02 22:00:51 | [Mutex] isItemNotified: received:node:0b80f128-687f-4f40-9b6a-c49340420428:localhost:node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6:Node 8c592cfc-b6e2-4dcf-b1a2-39387053ece6 :: true 2021-02-02 22:00:51 | [Mutex] waiting for: [received:nodes:470980d0-f437-4e75-887f-584d163a7217:localhost] 2021-02-02 22:00:51 | [Mutex] waiting for: [received:nodes:470980d0-f437-4e75-887f-584d163a7217:localhost] 2021-02-02 22:00:51 | [Mutex] received everything. 2021-02-02 22:00:51 | [Mutex] isItemNotified: received:node:470980d0-f437-4e75-887f-584d163a7217:localhost:node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6:Node 8c592cfc-b6e2-4dcf-b1a2-39387053ece6 :: false |
createNodes | 1.392s |
2021-02-02 22:00:48 |
2021-02-02 22:00:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:48 | ------------------------------------ 2021-02-02 22:00:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8c592cfc-b6e2-4dcf-b1a2-39387053ece6</title></pubsub></data> 2021-02-02 22:00:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 22:00:49 | [Mutex] waiting for: [received:nodes:88d97ba8-0b2a-4d6b-8faa-cf3685f308c9:localhost] 2021-02-02 22:00:49 | [Mutex] waiting for: [received:nodes:88d97ba8-0b2a-4d6b-8faa-cf3685f308c9:localhost] 2021-02-02 22:00:49 | [Mutex] received everything. 2021-02-02 22:00:49 | [Mutex] isItemNotified: received:node:88d97ba8-0b2a-4d6b-8faa-cf3685f308c9:localhost:node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6:Node 8c592cfc-b6e2-4dcf-b1a2-39387053ece6 :: true |
createSubnodes | 1.033s |
2021-02-02 22:00:49 |
2021-02-02 22:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:49 | ------------------------------------ 2021-02-02 22:00:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c7a55603-9919-4013-ba0f-6d1fc984c99d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c7a55603-9919-4013-ba0f-6d1fc984c99d</title></pubsub></data> 2021-02-02 22:00:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 22:00:50 | [Mutex] waiting for: [received:nodes:b18f6b33-53a2-47c4-aafa-7caa55b7a5ab:localhost] 2021-02-02 22:00:50 | [Mutex] received everything. 2021-02-02 22:00:50 | [Mutex] isItemNotified: received:node:b18f6b33-53a2-47c4-aafa-7caa55b7a5ab:localhost:node-c7a55603-9919-4013-ba0f-6d1fc984c99d:Node c7a55603-9919-4013-ba0f-6d1fc984c99d :: true |
deleteNodes | 1.019s |
2021-02-02 22:00:56 |
2021-02-02 22:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:56 | ------------------------------------ 2021-02-02 22:00:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c7a55603-9919-4013-ba0f-6d1fc984c99d</node></data> 2021-02-02 22:00:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 22:00:57 | [Mutex] waiting for: [received:nodes:16580816-2214-463d-89f1-857006048120:localhost] 2021-02-02 22:00:57 | [Mutex] received everything. 2021-02-02 22:00:57 | [Mutex] isItemNotified: received:node:16580816-2214-463d-89f1-857006048120:localhost:node-c7a55603-9919-4013-ba0f-6d1fc984c99d:Node c7a55603-9919-4013-ba0f-6d1fc984c99d :: false |
deleteSubnodes | 1.127s |
2021-02-02 22:00:55 |
2021-02-02 22:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:55 | ------------------------------------ 2021-02-02 22:00:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</node></data> 2021-02-02 22:00:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 22:00:56 | [Mutex] waiting for: [received:nodes:a0c8f97c-df6b-40f1-aba2-93f34203c798:localhost] 2021-02-02 22:00:56 | [Mutex] received everything. 2021-02-02 22:00:56 | [Mutex] isItemNotified: received:node:a0c8f97c-df6b-40f1-aba2-93f34203c798:localhost:node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6:Node 8c592cfc-b6e2-4dcf-b1a2-39387053ece6 :: false 2021-02-02 22:00:56 | [Mutex] waiting for: [received:nodes:1b15eee2-7383-4f80-be77-678a35ea1a22:localhost] 2021-02-02 22:00:56 | [Mutex] received everything. 2021-02-02 22:00:56 | [Mutex] isItemNotified: received:node:1b15eee2-7383-4f80-be77-678a35ea1a22:localhost:node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6:Node 8c592cfc-b6e2-4dcf-b1a2-39387053ece6 :: false |
publishItemsToNodes | 0.275s |
2021-02-02 22:00:52 |
2021-02-02 22:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:52 | ------------------------------------ 2021-02-02 22:00:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</node><item-id>item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</item-id><entry><test>item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</test></entry></data> 2021-02-02 22:00:53 | 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-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</value></item-id></result> 2021-02-02 22:00:53 | [Mutex] waiting for: [published:item:notifieditem-bf6a8b1c-f3ec-47f6-8191-b9241fe95091:admin@test-domain.com] 2021-02-02 22:00:53 | [Mutex] received everything. 2021-02-02 22:00:53 | [Mutex] isItemNotified: published:item:notifieditem-bf6a8b1c-f3ec-47f6-8191-b9241fe95091:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2021-02-02 22:00:53 |
2021-02-02 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:53 | ------------------------------------ 2021-02-02 22:00:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</node><item-id>item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</item-id></data> 2021-02-02 22:00:53 | 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-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</value></item-id></result> 2021-02-02 22:00:53 | [Mutex] received everything. 2021-02-02 22:00:53 | [Mutex] isItemNotified: retracted:item:notifieditem-bf6a8b1c-f3ec-47f6-8191-b9241fe95091:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.277s |
2021-02-02 22:00:53 |
2021-02-02 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:53 | ------------------------------------ 2021-02-02 22:00:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</node><item-id>item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</item-id></data> 2021-02-02 22:00:53 | 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-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</value></node><item-id label="Item ID" type="text-single"><value>item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</value></item-id><item label="Item" type="text-multi"><value><item id="item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091"><test>item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091</test></item></value></item></result> 2021-02-02 22:00:53 | [Mutex] notify: [retrieved:item:item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091:payload-matches:true:localhost] 2021-02-02 22:00:53 | [Mutex] received everything. 2021-02-02 22:00:53 | [Mutex] isItemNotified: retrieved:item:item-bf6a8b1c-f3ec-47f6-8191-b9241fe95091:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-02-02 22:00:53 |
2021-02-02 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:53 | ------------------------------------ 2021-02-02 22:00:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-02 22:00:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</value><value>node-c7a55603-9919-4013-ba0f-6d1fc984c99d</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-02-02 22:00:53 |
2021-02-02 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:53 | ------------------------------------ 2021-02-02 22:00:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6)</node-pattern></data> 2021-02-02 22:00:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.131s |
2021-02-02 22:00:51 |
2021-02-02 22:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:51 | ------------------------------------ 2021-02-02 22:00:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-02 22:00:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.311s |
2021-02-02 22:00:53 |
2021-02-02 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 22:00:53 | ------------------------------------ 2021-02-02 22:00:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8c592cfc-b6e2-4dcf-b1a2-39387053ece6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-02 22:00:54 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |