Test duration : 10.060s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2020-09-26 23:15:37 |
2020-09-26 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:37 | ------------------------------------ 2020-09-26 23:15:37 | [Mutex] waiting for: [configured:node:node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98:node-04adae76-87da-4703-bdad-bfe7640c65d0] 2020-09-26 23:15:37 | [Mutex] received everything. 2020-09-26 23:15:37 | [Mutex] isItemNotified: configured:node:node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98:node-04adae76-87da-4703-bdad-bfe7640c65d0 :: true 2020-09-26 23:15:38 | [Mutex] waiting for: [received:nodes:1085ed83-7d33-42d4-aa7b-22c48c7df33c:localhost] 2020-09-26 23:15:38 | [Mutex] received everything. 2020-09-26 23:15:38 | [Mutex] isItemNotified: received:node:1085ed83-7d33-42d4-aa7b-22c48c7df33c:localhost:node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98:Node 5f4eea4d-9f05-4b22-a0fb-088448fb3c98 :: true 2020-09-26 23:15:38 | [Mutex] waiting for: [received:nodes:37594ae7-30a7-4545-a61d-5a89463f44d8:localhost] 2020-09-26 23:15:38 | [Mutex] received everything. 2020-09-26 23:15:38 | [Mutex] isItemNotified: received:node:37594ae7-30a7-4545-a61d-5a89463f44d8:localhost:node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98:Node 5f4eea4d-9f05-4b22-a0fb-088448fb3c98 :: false |
createNodes | 1.336s |
2020-09-26 23:15:34 |
2020-09-26 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:34 | ------------------------------------ 2020-09-26 23:15:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5f4eea4d-9f05-4b22-a0fb-088448fb3c98</title></pubsub></data> 2020-09-26 23:15:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-26 23:15:36 | [Mutex] waiting for: [received:nodes:812e85d9-21ba-4718-9e6e-4c684b3b3ec3:localhost] 2020-09-26 23:15:36 | [Mutex] received everything. 2020-09-26 23:15:36 | [Mutex] isItemNotified: received:node:812e85d9-21ba-4718-9e6e-4c684b3b3ec3:localhost:node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98:Node 5f4eea4d-9f05-4b22-a0fb-088448fb3c98 :: true |
createSubnodes | 1.031s |
2020-09-26 23:15:36 |
2020-09-26 23:15:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:36 | ------------------------------------ 2020-09-26 23:15:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-04adae76-87da-4703-bdad-bfe7640c65d0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 04adae76-87da-4703-bdad-bfe7640c65d0</title></pubsub></data> 2020-09-26 23:15:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-26 23:15:37 | [Mutex] waiting for: [received:nodes:3a567095-805f-432d-9c81-0440a2a219a2:localhost] 2020-09-26 23:15:37 | [Mutex] received everything. 2020-09-26 23:15:37 | [Mutex] isItemNotified: received:node:3a567095-805f-432d-9c81-0440a2a219a2:localhost:node-04adae76-87da-4703-bdad-bfe7640c65d0:Node 04adae76-87da-4703-bdad-bfe7640c65d0 :: true |
deleteNodes | 1.017s |
2020-09-26 23:15:42 |
2020-09-26 23:15:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:42 | ------------------------------------ 2020-09-26 23:15:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-04adae76-87da-4703-bdad-bfe7640c65d0</node></data> 2020-09-26 23:15:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-26 23:15:43 | [Mutex] waiting for: [received:nodes:10b02d08-28dc-41f8-968f-7c2920d70928:localhost] 2020-09-26 23:15:43 | [Mutex] received everything. 2020-09-26 23:15:43 | [Mutex] isItemNotified: received:node:10b02d08-28dc-41f8-968f-7c2920d70928:localhost:node-04adae76-87da-4703-bdad-bfe7640c65d0:Node 04adae76-87da-4703-bdad-bfe7640c65d0 :: false |
deleteSubnodes | 1.110s |
2020-09-26 23:15:41 |
2020-09-26 23:15:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:41 | ------------------------------------ 2020-09-26 23:15:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</node></data> 2020-09-26 23:15:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-26 23:15:42 | [Mutex] waiting for: [received:nodes:502e6973-377f-46ab-810b-fdcc477316bf:localhost] 2020-09-26 23:15:42 | [Mutex] received everything. 2020-09-26 23:15:42 | [Mutex] isItemNotified: received:node:502e6973-377f-46ab-810b-fdcc477316bf:localhost:node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98:Node 5f4eea4d-9f05-4b22-a0fb-088448fb3c98 :: false 2020-09-26 23:15:42 | [Mutex] waiting for: [received:nodes:b91944f0-01e1-4197-b211-3560c7ba063d:localhost] 2020-09-26 23:15:42 | [Mutex] received everything. 2020-09-26 23:15:42 | [Mutex] isItemNotified: received:node:b91944f0-01e1-4197-b211-3560c7ba063d:localhost:node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98:Node 5f4eea4d-9f05-4b22-a0fb-088448fb3c98 :: false |
publishItemsToNodes | 0.228s |
2020-09-26 23:15:39 |
2020-09-26 23:15:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:39 | ------------------------------------ 2020-09-26 23:15:39 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</node><item-id>item-a9276cc8-8d4c-46be-b4e4-25c97d37178f</item-id><entry><test>item-a9276cc8-8d4c-46be-b4e4-25c97d37178f</test></entry></data> 2020-09-26 23:15:39 | 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-a9276cc8-8d4c-46be-b4e4-25c97d37178f</value></item-id></result> 2020-09-26 23:15:39 | [Mutex] waiting for: [published:item:notifieditem-a9276cc8-8d4c-46be-b4e4-25c97d37178f:admin@test-domain.com] 2020-09-26 23:15:39 | [Mutex] received everything. 2020-09-26 23:15:39 | [Mutex] isItemNotified: published:item:notifieditem-a9276cc8-8d4c-46be-b4e4-25c97d37178f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2020-09-26 23:15:39 |
2020-09-26 23:15:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:39 | ------------------------------------ 2020-09-26 23:15:39 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</node><item-id>item-a9276cc8-8d4c-46be-b4e4-25c97d37178f</item-id></data> 2020-09-26 23:15:40 | 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-a9276cc8-8d4c-46be-b4e4-25c97d37178f</value></item-id></result> 2020-09-26 23:15:40 | [Mutex] received everything. 2020-09-26 23:15:40 | [Mutex] isItemNotified: retracted:item:notifieditem-a9276cc8-8d4c-46be-b4e4-25c97d37178f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.259s |
2020-09-26 23:15:39 |
2020-09-26 23:15:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:39 | ------------------------------------ 2020-09-26 23:15:39 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</node><item-id>item-a9276cc8-8d4c-46be-b4e4-25c97d37178f</item-id></data> 2020-09-26 23:15:39 | 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-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</value></node><item-id label="Item ID" type="text-single"><value>item-a9276cc8-8d4c-46be-b4e4-25c97d37178f</value></item-id><item label="Item" type="text-multi"><value><item id="item-a9276cc8-8d4c-46be-b4e4-25c97d37178f"><test>item-a9276cc8-8d4c-46be-b4e4-25c97d37178f</test></item></value></item></result> 2020-09-26 23:15:39 | [Mutex] notify: [retrieved:item:item-a9276cc8-8d4c-46be-b4e4-25c97d37178f:payload-matches:true:localhost] 2020-09-26 23:15:39 | [Mutex] received everything. 2020-09-26 23:15:39 | [Mutex] isItemNotified: retrieved:item:item-a9276cc8-8d4c-46be-b4e4-25c97d37178f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2020-09-26 23:15:39 |
2020-09-26 23:15:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:39 | ------------------------------------ 2020-09-26 23:15:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-26 23:15:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-04adae76-87da-4703-bdad-bfe7640c65d0</value><value>test</value><value>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-26 23:15:39 |
2020-09-26 23:15:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:39 | ------------------------------------ 2020-09-26 23:15:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98)</node-pattern></data> 2020-09-26 23:15:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2020-09-26 23:15:38 |
2020-09-26 23:15:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:38 | ------------------------------------ 2020-09-26 23:15:38 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-26 23:15:38 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.287s |
2020-09-26 23:15:40 |
2020-09-26 23:15:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-26 23:15:40 | ------------------------------------ 2020-09-26 23:15:40 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5f4eea4d-9f05-4b22-a0fb-088448fb3c98</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-26 23:15:40 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |