Test duration : 10.130s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2020-10-18 23:12:40 |
2020-10-18 23:12:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:40 | ------------------------------------ 2020-10-18 23:12:40 | [Mutex] waiting for: [configured:node:node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5:node-4c03955b-449c-4e72-8588-ea62e0162a2a] 2020-10-18 23:12:40 | [Mutex] received everything. 2020-10-18 23:12:40 | [Mutex] isItemNotified: configured:node:node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5:node-4c03955b-449c-4e72-8588-ea62e0162a2a :: true 2020-10-18 23:12:41 | [Mutex] waiting for: [received:nodes:2ef23659-fdd7-4ab9-a95a-87ad2b9830c7:localhost] 2020-10-18 23:12:41 | [Mutex] received everything. 2020-10-18 23:12:41 | [Mutex] isItemNotified: received:node:2ef23659-fdd7-4ab9-a95a-87ad2b9830c7:localhost:node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5:Node 79d17d5b-c6da-40db-b4e3-a50bbea26dc5 :: true 2020-10-18 23:12:41 | [Mutex] waiting for: [received:nodes:c3abe245-26a6-4083-9909-2de9b2dd3979:localhost] 2020-10-18 23:12:41 | [Mutex] received everything. 2020-10-18 23:12:41 | [Mutex] isItemNotified: received:node:c3abe245-26a6-4083-9909-2de9b2dd3979:localhost:node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5:Node 79d17d5b-c6da-40db-b4e3-a50bbea26dc5 :: false |
createNodes | 1.462s |
2020-10-18 23:12:37 |
2020-10-18 23:12:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:37 | ------------------------------------ 2020-10-18 23:12:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 79d17d5b-c6da-40db-b4e3-a50bbea26dc5</title></pubsub></data> 2020-10-18 23:12:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 23:12:39 | [Mutex] waiting for: [received:nodes:78c400e2-951a-4b98-9e03-5590f49805a2:localhost] 2020-10-18 23:12:39 | [Mutex] received everything. 2020-10-18 23:12:39 | [Mutex] isItemNotified: received:node:78c400e2-951a-4b98-9e03-5590f49805a2:localhost:node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5:Node 79d17d5b-c6da-40db-b4e3-a50bbea26dc5 :: true |
createSubnodes | 1.034s |
2020-10-18 23:12:39 |
2020-10-18 23:12:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:39 | ------------------------------------ 2020-10-18 23:12:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4c03955b-449c-4e72-8588-ea62e0162a2a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4c03955b-449c-4e72-8588-ea62e0162a2a</title></pubsub></data> 2020-10-18 23:12:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 23:12:40 | [Mutex] waiting for: [received:nodes:609b40e0-a3f0-4c3d-bd2a-a466f7fd1325:localhost] 2020-10-18 23:12:40 | [Mutex] received everything. 2020-10-18 23:12:40 | [Mutex] isItemNotified: received:node:609b40e0-a3f0-4c3d-bd2a-a466f7fd1325:localhost:node-4c03955b-449c-4e72-8588-ea62e0162a2a:Node 4c03955b-449c-4e72-8588-ea62e0162a2a :: true |
deleteNodes | 1.026s |
2020-10-18 23:12:45 |
2020-10-18 23:12:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:45 | ------------------------------------ 2020-10-18 23:12:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4c03955b-449c-4e72-8588-ea62e0162a2a</node></data> 2020-10-18 23:12:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 23:12:46 | [Mutex] waiting for: [received:nodes:21e7358e-f9bd-42f1-8669-712e032efe3a:localhost] 2020-10-18 23:12:46 | [Mutex] waiting for: [received:nodes:21e7358e-f9bd-42f1-8669-712e032efe3a:localhost] 2020-10-18 23:12:46 | [Mutex] received everything. 2020-10-18 23:12:46 | [Mutex] isItemNotified: received:node:21e7358e-f9bd-42f1-8669-712e032efe3a:localhost:node-4c03955b-449c-4e72-8588-ea62e0162a2a:Node 4c03955b-449c-4e72-8588-ea62e0162a2a :: false |
deleteSubnodes | 1.171s |
2020-10-18 23:12:44 |
2020-10-18 23:12:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:44 | ------------------------------------ 2020-10-18 23:12:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</node></data> 2020-10-18 23:12:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 23:12:45 | [Mutex] waiting for: [received:nodes:44723078-dc09-4716-8851-ecfb064640ba:localhost] 2020-10-18 23:12:45 | [Mutex] received everything. 2020-10-18 23:12:45 | [Mutex] isItemNotified: received:node:44723078-dc09-4716-8851-ecfb064640ba:localhost:node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5:Node 79d17d5b-c6da-40db-b4e3-a50bbea26dc5 :: false 2020-10-18 23:12:45 | [Mutex] waiting for: [received:nodes:bb49778f-756e-4c64-8bac-0ec09f85131d:localhost] 2020-10-18 23:12:45 | [Mutex] received everything. 2020-10-18 23:12:45 | [Mutex] isItemNotified: received:node:bb49778f-756e-4c64-8bac-0ec09f85131d:localhost:node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5:Node 79d17d5b-c6da-40db-b4e3-a50bbea26dc5 :: false |
publishItemsToNodes | 0.174s |
2020-10-18 23:12:42 |
2020-10-18 23:12:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:42 | ------------------------------------ 2020-10-18 23:12:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</node><item-id>item-a09c66f7-5d7e-4d17-b814-f17b8ca94491</item-id><entry><test>item-a09c66f7-5d7e-4d17-b814-f17b8ca94491</test></entry></data> 2020-10-18 23:12:42 | 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-a09c66f7-5d7e-4d17-b814-f17b8ca94491</value></item-id></result> 2020-10-18 23:12:42 | [Mutex] waiting for: [published:item:notifieditem-a09c66f7-5d7e-4d17-b814-f17b8ca94491:admin@test-domain.com] 2020-10-18 23:12:42 | [Mutex] received everything. 2020-10-18 23:12:42 | [Mutex] isItemNotified: published:item:notifieditem-a09c66f7-5d7e-4d17-b814-f17b8ca94491:admin@test-domain.com :: true |
retractItemsFromNodes | 0.320s |
2020-10-18 23:12:43 |
2020-10-18 23:12:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:43 | ------------------------------------ 2020-10-18 23:12:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</node><item-id>item-a09c66f7-5d7e-4d17-b814-f17b8ca94491</item-id></data> 2020-10-18 23:12:43 | 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-a09c66f7-5d7e-4d17-b814-f17b8ca94491</value></item-id></result> 2020-10-18 23:12:43 | [Mutex] waiting for: [retracted:item:notifieditem-a09c66f7-5d7e-4d17-b814-f17b8ca94491:admin@test-domain.com] 2020-10-18 23:12:43 | [Mutex] received everything. 2020-10-18 23:12:43 | [Mutex] isItemNotified: retracted:item:notifieditem-a09c66f7-5d7e-4d17-b814-f17b8ca94491:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.262s |
2020-10-18 23:12:42 |
2020-10-18 23:12:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:42 | ------------------------------------ 2020-10-18 23:12:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</node><item-id>item-a09c66f7-5d7e-4d17-b814-f17b8ca94491</item-id></data> 2020-10-18 23:12:42 | 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-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</value></node><item-id label="Item ID" type="text-single"><value>item-a09c66f7-5d7e-4d17-b814-f17b8ca94491</value></item-id><item label="Item" type="text-multi"><value><item id="item-a09c66f7-5d7e-4d17-b814-f17b8ca94491"><test>item-a09c66f7-5d7e-4d17-b814-f17b8ca94491</test></item></value></item></result> 2020-10-18 23:12:42 | [Mutex] notify: [retrieved:item:item-a09c66f7-5d7e-4d17-b814-f17b8ca94491:payload-matches:true:localhost] 2020-10-18 23:12:42 | [Mutex] received everything. 2020-10-18 23:12:42 | [Mutex] isItemNotified: retrieved:item:item-a09c66f7-5d7e-4d17-b814-f17b8ca94491:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-10-18 23:12:42 |
2020-10-18 23:12:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:42 | ------------------------------------ 2020-10-18 23:12:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-18 23:12:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-4c03955b-449c-4e72-8588-ea62e0162a2a</value><value>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-10-18 23:12:43 |
2020-10-18 23:12:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:43 | ------------------------------------ 2020-10-18 23:12:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5)</node-pattern></data> 2020-10-18 23:12:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.090s |
2020-10-18 23:12:41 |
2020-10-18 23:12:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:41 | ------------------------------------ 2020-10-18 23:12:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-18 23:12:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.262s |
2020-10-18 23:12:43 |
2020-10-18 23:12:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 23:12:43 | ------------------------------------ 2020-10-18 23:12:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-79d17d5b-c6da-40db-b4e3-a50bbea26dc5</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-18 23:12:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |