Test duration : 9.912s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2020-09-17 22:50:29 |
2020-09-17 22:50:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:29 | ------------------------------------ 2020-09-17 22:50:29 | [Mutex] waiting for: [configured:node:node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903:node-d5d53694-8882-425e-aeae-9e14ab53b448] 2020-09-17 22:50:29 | [Mutex] received everything. 2020-09-17 22:50:29 | [Mutex] isItemNotified: configured:node:node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903:node-d5d53694-8882-425e-aeae-9e14ab53b448 :: true 2020-09-17 22:50:30 | [Mutex] waiting for: [received:nodes:f041b2af-48a2-4843-8a6d-580081bc6d66:localhost] 2020-09-17 22:50:30 | [Mutex] received everything. 2020-09-17 22:50:30 | [Mutex] isItemNotified: received:node:f041b2af-48a2-4843-8a6d-580081bc6d66:localhost:node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903:Node b92bc2bc-f7d8-45b7-94ae-41af77c0c903 :: true 2020-09-17 22:50:30 | [Mutex] waiting for: [received:nodes:3e4481b3-59cc-4f5b-9dfa-5b0471f43ebc:localhost] 2020-09-17 22:50:30 | [Mutex] received everything. 2020-09-17 22:50:30 | [Mutex] isItemNotified: received:node:3e4481b3-59cc-4f5b-9dfa-5b0471f43ebc:localhost:node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903:Node b92bc2bc-f7d8-45b7-94ae-41af77c0c903 :: false |
createNodes | 1.534s |
2020-09-17 22:50:26 |
2020-09-17 22:50:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:26 | ------------------------------------ 2020-09-17 22:50:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b92bc2bc-f7d8-45b7-94ae-41af77c0c903</title></pubsub></data> 2020-09-17 22:50:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-17 22:50:28 | [Mutex] waiting for: [received:nodes:43e27b8d-9799-45f6-b229-4984d7f7048a:localhost] 2020-09-17 22:50:28 | [Mutex] received everything. 2020-09-17 22:50:28 | [Mutex] isItemNotified: received:node:43e27b8d-9799-45f6-b229-4984d7f7048a:localhost:node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903:Node b92bc2bc-f7d8-45b7-94ae-41af77c0c903 :: true |
createSubnodes | 1.025s |
2020-09-17 22:50:28 |
2020-09-17 22:50:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:28 | ------------------------------------ 2020-09-17 22:50:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d5d53694-8882-425e-aeae-9e14ab53b448</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5d53694-8882-425e-aeae-9e14ab53b448</title></pubsub></data> 2020-09-17 22:50:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-17 22:50:29 | [Mutex] waiting for: [received:nodes:b4444505-2fb5-4fce-9465-f35f2d42d99b:localhost] 2020-09-17 22:50:29 | [Mutex] waiting for: [received:nodes:b4444505-2fb5-4fce-9465-f35f2d42d99b:localhost] 2020-09-17 22:50:29 | [Mutex] received everything. 2020-09-17 22:50:29 | [Mutex] isItemNotified: received:node:b4444505-2fb5-4fce-9465-f35f2d42d99b:localhost:node-d5d53694-8882-425e-aeae-9e14ab53b448:Node d5d53694-8882-425e-aeae-9e14ab53b448 :: true |
deleteNodes | 1.020s |
2020-09-17 22:50:34 |
2020-09-17 22:50:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:34 | ------------------------------------ 2020-09-17 22:50:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d5d53694-8882-425e-aeae-9e14ab53b448</node></data> 2020-09-17 22:50:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-17 22:50:35 | [Mutex] waiting for: [received:nodes:68bbf1fe-ab37-4226-8704-4519326aa19e:localhost] 2020-09-17 22:50:35 | [Mutex] received everything. 2020-09-17 22:50:35 | [Mutex] isItemNotified: received:node:68bbf1fe-ab37-4226-8704-4519326aa19e:localhost:node-d5d53694-8882-425e-aeae-9e14ab53b448:Node d5d53694-8882-425e-aeae-9e14ab53b448 :: false |
deleteSubnodes | 1.119s |
2020-09-17 22:50:33 |
2020-09-17 22:50:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:33 | ------------------------------------ 2020-09-17 22:50:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</node></data> 2020-09-17 22:50:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-17 22:50:34 | [Mutex] waiting for: [received:nodes:803f8de8-3c95-49a7-9aa9-d92677566da6:localhost] 2020-09-17 22:50:34 | [Mutex] waiting for: [received:nodes:803f8de8-3c95-49a7-9aa9-d92677566da6:localhost] 2020-09-17 22:50:34 | [Mutex] received everything. 2020-09-17 22:50:34 | [Mutex] isItemNotified: received:node:803f8de8-3c95-49a7-9aa9-d92677566da6:localhost:node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903:Node b92bc2bc-f7d8-45b7-94ae-41af77c0c903 :: false 2020-09-17 22:50:34 | [Mutex] waiting for: [received:nodes:a5f996f0-9bae-4b14-8a04-a71e864ed972:localhost] 2020-09-17 22:50:34 | [Mutex] received everything. 2020-09-17 22:50:34 | [Mutex] isItemNotified: received:node:a5f996f0-9bae-4b14-8a04-a71e864ed972:localhost:node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903:Node b92bc2bc-f7d8-45b7-94ae-41af77c0c903 :: false |
publishItemsToNodes | 0.267s |
2020-09-17 22:50:31 |
2020-09-17 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:31 | ------------------------------------ 2020-09-17 22:50:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</node><item-id>item-3a98a8fd-2920-472c-abbb-470fbd594d84</item-id><entry><test>item-3a98a8fd-2920-472c-abbb-470fbd594d84</test></entry></data> 2020-09-17 22:50:31 | 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-3a98a8fd-2920-472c-abbb-470fbd594d84</value></item-id></result> 2020-09-17 22:50:31 | [Mutex] received everything. 2020-09-17 22:50:31 | [Mutex] isItemNotified: published:item:notifieditem-3a98a8fd-2920-472c-abbb-470fbd594d84:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2020-09-17 22:50:31 |
2020-09-17 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:31 | ------------------------------------ 2020-09-17 22:50:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</node><item-id>item-3a98a8fd-2920-472c-abbb-470fbd594d84</item-id></data> 2020-09-17 22:50:32 | 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-3a98a8fd-2920-472c-abbb-470fbd594d84</value></item-id></result> 2020-09-17 22:50:32 | [Mutex] waiting for: [retracted:item:notifieditem-3a98a8fd-2920-472c-abbb-470fbd594d84:admin@test-domain.com] 2020-09-17 22:50:32 | [Mutex] received everything. 2020-09-17 22:50:32 | [Mutex] isItemNotified: retracted:item:notifieditem-3a98a8fd-2920-472c-abbb-470fbd594d84:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.179s |
2020-09-17 22:50:31 |
2020-09-17 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:31 | ------------------------------------ 2020-09-17 22:50:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</node><item-id>item-3a98a8fd-2920-472c-abbb-470fbd594d84</item-id></data> 2020-09-17 22:50:31 | 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-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</value></node><item-id label="Item ID" type="text-single"><value>item-3a98a8fd-2920-472c-abbb-470fbd594d84</value></item-id><item label="Item" type="text-multi"><value><item id="item-3a98a8fd-2920-472c-abbb-470fbd594d84"><test>item-3a98a8fd-2920-472c-abbb-470fbd594d84</test></item></value></item></result> 2020-09-17 22:50:31 | [Mutex] notify: [retrieved:item:item-3a98a8fd-2920-472c-abbb-470fbd594d84:payload-matches:true:localhost] 2020-09-17 22:50:31 | [Mutex] received everything. 2020-09-17 22:50:31 | [Mutex] isItemNotified: retrieved:item:item-3a98a8fd-2920-472c-abbb-470fbd594d84:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-09-17 22:50:31 |
2020-09-17 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:31 | ------------------------------------ 2020-09-17 22:50:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-17 22:50:31 | 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-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</value><value>node-d5d53694-8882-425e-aeae-9e14ab53b448</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-17 22:50:31 |
2020-09-17 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:31 | ------------------------------------ 2020-09-17 22:50:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903)</node-pattern></data> 2020-09-17 22:50:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.110s |
2020-09-17 22:50:30 |
2020-09-17 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:30 | ------------------------------------ 2020-09-17 22:50:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-17 22:50:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.224s |
2020-09-17 22:50:32 |
2020-09-17 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-17 22:50:32 | ------------------------------------ 2020-09-17 22:50:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b92bc2bc-f7d8-45b7-94ae-41af77c0c903</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-17 22:50:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |