Test duration : 10.164s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.130s |
2020-10-20 23:31:14 |
2020-10-20 23:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:14 | ------------------------------------ 2020-10-20 23:31:14 | [Mutex] waiting for: [configured:node:node-c8ffbe2d-1f33-4059-9548-6dfa5be47855:node-27bde581-6436-4bd3-a6a6-47d9b01be69a] 2020-10-20 23:31:14 | [Mutex] received everything. 2020-10-20 23:31:14 | [Mutex] isItemNotified: configured:node:node-c8ffbe2d-1f33-4059-9548-6dfa5be47855:node-27bde581-6436-4bd3-a6a6-47d9b01be69a :: true 2020-10-20 23:31:15 | [Mutex] waiting for: [received:nodes:91173bbd-3565-4bbd-9be7-c31501f3019a:localhost] 2020-10-20 23:31:15 | [Mutex] received everything. 2020-10-20 23:31:15 | [Mutex] isItemNotified: received:node:91173bbd-3565-4bbd-9be7-c31501f3019a:localhost:node-c8ffbe2d-1f33-4059-9548-6dfa5be47855:Node c8ffbe2d-1f33-4059-9548-6dfa5be47855 :: true 2020-10-20 23:31:15 | [Mutex] waiting for: [received:nodes:e511f274-4fc0-4d40-999b-d1e8d7414f0d:localhost] 2020-10-20 23:31:15 | [Mutex] received everything. 2020-10-20 23:31:15 | [Mutex] isItemNotified: received:node:e511f274-4fc0-4d40-999b-d1e8d7414f0d:localhost:node-c8ffbe2d-1f33-4059-9548-6dfa5be47855:Node c8ffbe2d-1f33-4059-9548-6dfa5be47855 :: false |
createNodes | 1.456s |
2020-10-20 23:31:11 |
2020-10-20 23:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:11 | ------------------------------------ 2020-10-20 23:31:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c8ffbe2d-1f33-4059-9548-6dfa5be47855</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c8ffbe2d-1f33-4059-9548-6dfa5be47855</title></pubsub></data> 2020-10-20 23:31:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:31:12 | [Mutex] waiting for: [received:nodes:23567888-f797-4578-b749-71e7e65c28d8:localhost] 2020-10-20 23:31:12 | [Mutex] received everything. 2020-10-20 23:31:12 | [Mutex] isItemNotified: received:node:23567888-f797-4578-b749-71e7e65c28d8:localhost:node-c8ffbe2d-1f33-4059-9548-6dfa5be47855:Node c8ffbe2d-1f33-4059-9548-6dfa5be47855 :: true |
createSubnodes | 1.025s |
2020-10-20 23:31:12 |
2020-10-20 23:31:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:12 | ------------------------------------ 2020-10-20 23:31:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-27bde581-6436-4bd3-a6a6-47d9b01be69a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 27bde581-6436-4bd3-a6a6-47d9b01be69a</title></pubsub></data> 2020-10-20 23:31:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:31:13 | [Mutex] waiting for: [received:nodes:4908600f-cd3d-43ed-b7d4-76b25a299e60:localhost] 2020-10-20 23:31:14 | [Mutex] received everything. 2020-10-20 23:31:14 | [Mutex] isItemNotified: received:node:4908600f-cd3d-43ed-b7d4-76b25a299e60:localhost:node-27bde581-6436-4bd3-a6a6-47d9b01be69a:Node 27bde581-6436-4bd3-a6a6-47d9b01be69a :: true |
deleteNodes | 1.021s |
2020-10-20 23:31:19 |
2020-10-20 23:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:19 | ------------------------------------ 2020-10-20 23:31:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-27bde581-6436-4bd3-a6a6-47d9b01be69a</node></data> 2020-10-20 23:31:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:31:20 | [Mutex] waiting for: [received:nodes:76aa2149-f229-49b0-8ab3-07c42f9c0733:localhost] 2020-10-20 23:31:20 | [Mutex] received everything. 2020-10-20 23:31:20 | [Mutex] isItemNotified: received:node:76aa2149-f229-49b0-8ab3-07c42f9c0733:localhost:node-27bde581-6436-4bd3-a6a6-47d9b01be69a:Node 27bde581-6436-4bd3-a6a6-47d9b01be69a :: false |
deleteSubnodes | 1.146s |
2020-10-20 23:31:18 |
2020-10-20 23:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:18 | ------------------------------------ 2020-10-20 23:31:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c8ffbe2d-1f33-4059-9548-6dfa5be47855</node></data> 2020-10-20 23:31:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:31:19 | [Mutex] waiting for: [received:nodes:4d99a7b7-58d2-47ab-a6a7-3f9f6f95ae11:localhost] 2020-10-20 23:31:19 | [Mutex] received everything. 2020-10-20 23:31:19 | [Mutex] isItemNotified: received:node:4d99a7b7-58d2-47ab-a6a7-3f9f6f95ae11:localhost:node-c8ffbe2d-1f33-4059-9548-6dfa5be47855:Node c8ffbe2d-1f33-4059-9548-6dfa5be47855 :: false 2020-10-20 23:31:19 | [Mutex] waiting for: [received:nodes:9456d3fd-f362-4bad-a5f1-0a213e1dfa18:localhost] 2020-10-20 23:31:19 | [Mutex] received everything. 2020-10-20 23:31:19 | [Mutex] isItemNotified: received:node:9456d3fd-f362-4bad-a5f1-0a213e1dfa18:localhost:node-c8ffbe2d-1f33-4059-9548-6dfa5be47855:Node c8ffbe2d-1f33-4059-9548-6dfa5be47855 :: false |
publishItemsToNodes | 0.208s |
2020-10-20 23:31:16 |
2020-10-20 23:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:16 | ------------------------------------ 2020-10-20 23:31:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c8ffbe2d-1f33-4059-9548-6dfa5be47855</node><item-id>item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</item-id><entry><test>item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</test></entry></data> 2020-10-20 23:31:16 | 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-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</value></item-id></result> 2020-10-20 23:31:16 | [Mutex] received everything. 2020-10-20 23:31:16 | [Mutex] isItemNotified: published:item:notifieditem-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.215s |
2020-10-20 23:31:16 |
2020-10-20 23:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:16 | ------------------------------------ 2020-10-20 23:31:16 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c8ffbe2d-1f33-4059-9548-6dfa5be47855</node><item-id>item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</item-id></data> 2020-10-20 23:31:17 | 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-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</value></item-id></result> 2020-10-20 23:31:17 | [Mutex] received everything. 2020-10-20 23:31:17 | [Mutex] isItemNotified: retracted:item:notifieditem-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.275s |
2020-10-20 23:31:16 |
2020-10-20 23:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:16 | ------------------------------------ 2020-10-20 23:31:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c8ffbe2d-1f33-4059-9548-6dfa5be47855</node><item-id>item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</item-id></data> 2020-10-20 23:31:16 | 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-c8ffbe2d-1f33-4059-9548-6dfa5be47855</value></node><item-id label="Item ID" type="text-single"><value>item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</value></item-id><item label="Item" type="text-multi"><value><item id="item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2"><test>item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2</test></item></value></item></result> 2020-10-20 23:31:16 | [Mutex] notify: [retrieved:item:item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2:payload-matches:true:localhost] 2020-10-20 23:31:16 | [Mutex] received everything. 2020-10-20 23:31:16 | [Mutex] isItemNotified: retrieved:item:item-ac5a2c6a-55f5-45a0-9b22-7b5044181ad2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-20 23:31:16 |
2020-10-20 23:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:16 | ------------------------------------ 2020-10-20 23:31:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-20 23:31:16 | 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-c8ffbe2d-1f33-4059-9548-6dfa5be47855</value><value>node-27bde581-6436-4bd3-a6a6-47d9b01be69a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-10-20 23:31:16 |
2020-10-20 23:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:16 | ------------------------------------ 2020-10-20 23:31:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c8ffbe2d-1f33-4059-9548-6dfa5be47855)</node-pattern></data> 2020-10-20 23:31:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.155s |
2020-10-20 23:31:15 |
2020-10-20 23:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:15 | ------------------------------------ 2020-10-20 23:31:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c8ffbe2d-1f33-4059-9548-6dfa5be47855</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-20 23:31:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.327s |
2020-10-20 23:31:17 |
2020-10-20 23:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:31:17 | ------------------------------------ 2020-10-20 23:31:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c8ffbe2d-1f33-4059-9548-6dfa5be47855</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-20 23:31:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |