Test duration : 9.989s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2020-09-14 22:58:55 |
2020-09-14 22:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:55 | ------------------------------------ 2020-09-14 22:58:55 | [Mutex] waiting for: [configured:node:node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57:node-2c69f694-9041-4f4e-9186-95af0eabfd8b] 2020-09-14 22:58:55 | [Mutex] received everything. 2020-09-14 22:58:55 | [Mutex] isItemNotified: configured:node:node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57:node-2c69f694-9041-4f4e-9186-95af0eabfd8b :: true 2020-09-14 22:58:56 | [Mutex] waiting for: [received:nodes:c1cc11c6-b886-4b1c-9233-c1ffded06124:localhost] 2020-09-14 22:58:56 | [Mutex] received everything. 2020-09-14 22:58:56 | [Mutex] isItemNotified: received:node:c1cc11c6-b886-4b1c-9233-c1ffded06124:localhost:node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57:Node c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57 :: true 2020-09-14 22:58:56 | [Mutex] waiting for: [received:nodes:4bd36ddc-b8ed-4c33-a110-448ae0f8a005:localhost] 2020-09-14 22:58:56 | [Mutex] received everything. 2020-09-14 22:58:56 | [Mutex] isItemNotified: received:node:4bd36ddc-b8ed-4c33-a110-448ae0f8a005:localhost:node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57:Node c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57 :: false |
createNodes | 1.510s |
2020-09-14 22:58:53 |
2020-09-14 22:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:53 | ------------------------------------ 2020-09-14 22:58:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</title></pubsub></data> 2020-09-14 22:58:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:58:54 | [Mutex] waiting for: [received:nodes:27dbbd41-1327-43e9-a7a8-6e47ea0782a7:localhost] 2020-09-14 22:58:54 | [Mutex] waiting for: [received:nodes:27dbbd41-1327-43e9-a7a8-6e47ea0782a7:localhost] 2020-09-14 22:58:54 | [Mutex] received everything. 2020-09-14 22:58:54 | [Mutex] isItemNotified: received:node:27dbbd41-1327-43e9-a7a8-6e47ea0782a7:localhost:node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57:Node c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57 :: true |
createSubnodes | 1.025s |
2020-09-14 22:58:54 |
2020-09-14 22:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:54 | ------------------------------------ 2020-09-14 22:58:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2c69f694-9041-4f4e-9186-95af0eabfd8b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2c69f694-9041-4f4e-9186-95af0eabfd8b</title></pubsub></data> 2020-09-14 22:58:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:58:55 | [Mutex] waiting for: [received:nodes:d41d8b8e-6e26-4429-a186-84680f5f8e60:localhost] 2020-09-14 22:58:55 | [Mutex] received everything. 2020-09-14 22:58:55 | [Mutex] isItemNotified: received:node:d41d8b8e-6e26-4429-a186-84680f5f8e60:localhost:node-2c69f694-9041-4f4e-9186-95af0eabfd8b:Node 2c69f694-9041-4f4e-9186-95af0eabfd8b :: true |
deleteNodes | 1.021s |
2020-09-14 22:59:01 |
2020-09-14 22:59:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:59:01 | ------------------------------------ 2020-09-14 22:59:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2c69f694-9041-4f4e-9186-95af0eabfd8b</node></data> 2020-09-14 22:59:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:59:02 | [Mutex] waiting for: [received:nodes:f11751f0-6e20-4c85-bab9-933e07b93039:localhost] 2020-09-14 22:59:02 | [Mutex] received everything. 2020-09-14 22:59:02 | [Mutex] isItemNotified: received:node:f11751f0-6e20-4c85-bab9-933e07b93039:localhost:node-2c69f694-9041-4f4e-9186-95af0eabfd8b:Node 2c69f694-9041-4f4e-9186-95af0eabfd8b :: false |
deleteSubnodes | 1.144s |
2020-09-14 22:59:00 |
2020-09-14 22:59:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:59:00 | ------------------------------------ 2020-09-14 22:59:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</node></data> 2020-09-14 22:59:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:59:01 | [Mutex] waiting for: [received:nodes:f46039cc-a9f7-42ef-9fcc-5d7ecb8a17de:localhost] 2020-09-14 22:59:01 | [Mutex] received everything. 2020-09-14 22:59:01 | [Mutex] isItemNotified: received:node:f46039cc-a9f7-42ef-9fcc-5d7ecb8a17de:localhost:node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57:Node c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57 :: false 2020-09-14 22:59:01 | [Mutex] waiting for: [received:nodes:4052d49d-2e03-466b-91bb-e02e6ada00dd:localhost] 2020-09-14 22:59:01 | [Mutex] received everything. 2020-09-14 22:59:01 | [Mutex] isItemNotified: received:node:4052d49d-2e03-466b-91bb-e02e6ada00dd:localhost:node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57:Node c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57 :: false |
publishItemsToNodes | 0.247s |
2020-09-14 22:58:57 |
2020-09-14 22:58:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:57 | ------------------------------------ 2020-09-14 22:58:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</node><item-id>item-ac8438e0-7d13-46de-817d-a12515c7279a</item-id><entry><test>item-ac8438e0-7d13-46de-817d-a12515c7279a</test></entry></data> 2020-09-14 22:58:58 | 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-ac8438e0-7d13-46de-817d-a12515c7279a</value></item-id></result> 2020-09-14 22:58:58 | [Mutex] received everything. 2020-09-14 22:58:58 | [Mutex] isItemNotified: published:item:notifieditem-ac8438e0-7d13-46de-817d-a12515c7279a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.233s |
2020-09-14 22:58:58 |
2020-09-14 22:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:58 | ------------------------------------ 2020-09-14 22:58:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</node><item-id>item-ac8438e0-7d13-46de-817d-a12515c7279a</item-id></data> 2020-09-14 22:58:58 | 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-ac8438e0-7d13-46de-817d-a12515c7279a</value></item-id></result> 2020-09-14 22:58:58 | [Mutex] received everything. 2020-09-14 22:58:58 | [Mutex] isItemNotified: retracted:item:notifieditem-ac8438e0-7d13-46de-817d-a12515c7279a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.215s |
2020-09-14 22:58:58 |
2020-09-14 22:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:58 | ------------------------------------ 2020-09-14 22:58:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</node><item-id>item-ac8438e0-7d13-46de-817d-a12515c7279a</item-id></data> 2020-09-14 22:58:58 | 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-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</value></node><item-id label="Item ID" type="text-single"><value>item-ac8438e0-7d13-46de-817d-a12515c7279a</value></item-id><item label="Item" type="text-multi"><value><item id="item-ac8438e0-7d13-46de-817d-a12515c7279a"><test>item-ac8438e0-7d13-46de-817d-a12515c7279a</test></item></value></item></result> 2020-09-14 22:58:58 | [Mutex] notify: [retrieved:item:item-ac8438e0-7d13-46de-817d-a12515c7279a:payload-matches:true:localhost] 2020-09-14 22:58:58 | [Mutex] received everything. 2020-09-14 22:58:58 | [Mutex] isItemNotified: retrieved:item:item-ac8438e0-7d13-46de-817d-a12515c7279a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2020-09-14 22:58:58 |
2020-09-14 22:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:58 | ------------------------------------ 2020-09-14 22:58:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-14 22:58:58 | 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-2c69f694-9041-4f4e-9186-95af0eabfd8b</value><value>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-14 22:58:58 |
2020-09-14 22:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:58 | ------------------------------------ 2020-09-14 22:58:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57)</node-pattern></data> 2020-09-14 22:58:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.173s |
2020-09-14 22:58:56 |
2020-09-14 22:58:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:56 | ------------------------------------ 2020-09-14 22:58:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-14 22:58:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.293s |
2020-09-14 22:58:58 |
2020-09-14 22:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:58:58 | ------------------------------------ 2020-09-14 22:58:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c6dfbdb7-1892-4a4f-a66c-09c3ecb4eb57</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-14 22:58:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |