Test duration : 9.444s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.083s |
2022-07-12 22:33:04 |
2022-07-12 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:04 | ------------------------------------ 2022-07-12 22:33:04 | [Mutex] waiting for: [configured:node:node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7:node-e70f3ff1-6046-4d6f-bf65-450a8623afd2] 2022-07-12 22:33:05 | [Mutex] received everything. 2022-07-12 22:33:05 | [Mutex] isItemNotified: configured:node:node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7:node-e70f3ff1-6046-4d6f-bf65-450a8623afd2 :: true 2022-07-12 22:33:06 | [Mutex] waiting for: [received:nodes:9ad196fe-24d8-4071-aa5b-681d016706be:localhost] 2022-07-12 22:33:06 | [Mutex] received everything. 2022-07-12 22:33:06 | [Mutex] isItemNotified: received:node:9ad196fe-24d8-4071-aa5b-681d016706be:localhost:node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7:Node 059fc162-2a78-4eb6-a6f1-525fdddeb3d7 :: true 2022-07-12 22:33:06 | [Mutex] waiting for: [received:nodes:98a0c533-7e3d-4b77-b606-d6cc5ec09ad6:localhost] 2022-07-12 22:33:06 | [Mutex] received everything. 2022-07-12 22:33:06 | [Mutex] isItemNotified: received:node:98a0c533-7e3d-4b77-b606-d6cc5ec09ad6:localhost:node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7:Node 059fc162-2a78-4eb6-a6f1-525fdddeb3d7 :: false |
createNodes | 1.366s |
2022-07-12 22:33:02 |
2022-07-12 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:02 | ------------------------------------ 2022-07-12 22:33:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 059fc162-2a78-4eb6-a6f1-525fdddeb3d7</title></pubsub></data> 2022-07-12 22:33:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 22:33:03 | [Mutex] waiting for: [received:nodes:d10bf431-b19c-4052-97c6-a92806e98049:localhost] 2022-07-12 22:33:03 | [Mutex] received everything. 2022-07-12 22:33:03 | [Mutex] isItemNotified: received:node:d10bf431-b19c-4052-97c6-a92806e98049:localhost:node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7:Node 059fc162-2a78-4eb6-a6f1-525fdddeb3d7 :: true |
createSubnodes | 1.024s |
2022-07-12 22:33:03 |
2022-07-12 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:03 | ------------------------------------ 2022-07-12 22:33:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e70f3ff1-6046-4d6f-bf65-450a8623afd2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e70f3ff1-6046-4d6f-bf65-450a8623afd2</title></pubsub></data> 2022-07-12 22:33:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 22:33:04 | [Mutex] waiting for: [received:nodes:9b029d33-ed35-488b-9f75-7a7ca904a921:localhost] 2022-07-12 22:33:04 | [Mutex] received everything. 2022-07-12 22:33:04 | [Mutex] isItemNotified: received:node:9b029d33-ed35-488b-9f75-7a7ca904a921:localhost:node-e70f3ff1-6046-4d6f-bf65-450a8623afd2:Node e70f3ff1-6046-4d6f-bf65-450a8623afd2 :: true |
deleteNodes | 1.019s |
2022-07-12 22:33:10 |
2022-07-12 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:10 | ------------------------------------ 2022-07-12 22:33:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e70f3ff1-6046-4d6f-bf65-450a8623afd2</node></data> 2022-07-12 22:33:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 22:33:11 | [Mutex] waiting for: [received:nodes:18727776-7724-41bd-beb1-b6f65b1a9312:localhost] 2022-07-12 22:33:11 | [Mutex] waiting for: [received:nodes:18727776-7724-41bd-beb1-b6f65b1a9312:localhost] 2022-07-12 22:33:11 | [Mutex] waiting for: [received:nodes:18727776-7724-41bd-beb1-b6f65b1a9312:localhost] 2022-07-12 22:33:11 | [Mutex] received everything. 2022-07-12 22:33:11 | [Mutex] isItemNotified: received:node:18727776-7724-41bd-beb1-b6f65b1a9312:localhost:node-e70f3ff1-6046-4d6f-bf65-450a8623afd2:Node e70f3ff1-6046-4d6f-bf65-450a8623afd2 :: false |
deleteSubnodes | 1.120s |
2022-07-12 22:33:09 |
2022-07-12 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:09 | ------------------------------------ 2022-07-12 22:33:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</node></data> 2022-07-12 22:33:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 22:33:10 | [Mutex] waiting for: [received:nodes:69f986cb-85c4-4beb-bd71-cdb82bacc662:localhost] 2022-07-12 22:33:10 | [Mutex] waiting for: [received:nodes:69f986cb-85c4-4beb-bd71-cdb82bacc662:localhost] 2022-07-12 22:33:10 | [Mutex] waiting for: [received:nodes:69f986cb-85c4-4beb-bd71-cdb82bacc662:localhost] 2022-07-12 22:33:10 | [Mutex] waiting for: [received:nodes:69f986cb-85c4-4beb-bd71-cdb82bacc662:localhost] 2022-07-12 22:33:10 | [Mutex] received everything. 2022-07-12 22:33:10 | [Mutex] isItemNotified: received:node:69f986cb-85c4-4beb-bd71-cdb82bacc662:localhost:node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7:Node 059fc162-2a78-4eb6-a6f1-525fdddeb3d7 :: false 2022-07-12 22:33:10 | [Mutex] waiting for: [received:nodes:66d5f678-c051-4798-bfbe-c86bb8842d16:localhost] 2022-07-12 22:33:10 | [Mutex] received everything. 2022-07-12 22:33:10 | [Mutex] isItemNotified: received:node:66d5f678-c051-4798-bfbe-c86bb8842d16:localhost:node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7:Node 059fc162-2a78-4eb6-a6f1-525fdddeb3d7 :: false |
publishItemsToNodes | 0.187s |
2022-07-12 22:33:07 |
2022-07-12 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:07 | ------------------------------------ 2022-07-12 22:33:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</node><item-id>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</item-id><entry><test>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</test></entry></data> 2022-07-12 22:33:07 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</value></item-id></result> 2022-07-12 22:33:07 | [Mutex] waiting for: [published:item:notifieditem-f7b04a6b-89b4-4bb9-8e0c-c268b554e589:admin@test-domain.com] 2022-07-12 22:33:07 | [Mutex] received everything. 2022-07-12 22:33:07 | [Mutex] isItemNotified: published:item:notifieditem-f7b04a6b-89b4-4bb9-8e0c-c268b554e589:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-07-12 22:33:07 |
2022-07-12 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:07 | ------------------------------------ 2022-07-12 22:33:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</node><item-id>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</item-id></data> 2022-07-12 22:33:07 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</value></item-id></result> 2022-07-12 22:33:07 | [Mutex] received everything. 2022-07-12 22:33:07 | [Mutex] isItemNotified: retracted:item:notifieditem-f7b04a6b-89b4-4bb9-8e0c-c268b554e589:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.199s |
2022-07-12 22:33:07 |
2022-07-12 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:07 | ------------------------------------ 2022-07-12 22:33:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</node><item-id>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</item-id></data> 2022-07-12 22:33:07 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</value></node><item-id type="text-single" label="Item ID"><value>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</value></item-id><item type="text-multi" label="Item"><value><item id="item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589"><test>item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589</test></item></value></item></result> 2022-07-12 22:33:07 | [Mutex] notify: [retrieved:item:item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589:payload-matches:true:localhost] 2022-07-12 22:33:07 | [Mutex] received everything. 2022-07-12 22:33:07 | [Mutex] isItemNotified: retrieved:item:item-f7b04a6b-89b4-4bb9-8e0c-c268b554e589:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-12 22:33:07 |
2022-07-12 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:07 | ------------------------------------ 2022-07-12 22:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-12 22:33:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</value><value>node-e70f3ff1-6046-4d6f-bf65-450a8623afd2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-12 22:33:07 |
2022-07-12 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:07 | ------------------------------------ 2022-07-12 22:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7)</node-pattern></data> 2022-07-12 22:33:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.143s |
2022-07-12 22:33:06 |
2022-07-12 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:06 | ------------------------------------ 2022-07-12 22:33:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 22:33:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-07-12 22:33:07 |
2022-07-12 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 22:33:07 | ------------------------------------ 2022-07-12 22:33:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-059fc162-2a78-4eb6-a6f1-525fdddeb3d7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 22:33:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |