Test duration : 10.033s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2021-06-25 07:48:05 |
2021-06-25 07:48:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:05 | ------------------------------------ 2021-06-25 07:48:05 | [Mutex] waiting for: [configured:node:node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6:node-03835cf4-5129-4b4c-8294-1a23c0f8e330] 2021-06-25 07:48:05 | [Mutex] received everything. 2021-06-25 07:48:05 | [Mutex] isItemNotified: configured:node:node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6:node-03835cf4-5129-4b4c-8294-1a23c0f8e330 :: true 2021-06-25 07:48:06 | [Mutex] waiting for: [received:nodes:3cc2cd26-461e-49ec-b9a2-7607f1dbe8d8:localhost] 2021-06-25 07:48:06 | [Mutex] received everything. 2021-06-25 07:48:06 | [Mutex] isItemNotified: received:node:3cc2cd26-461e-49ec-b9a2-7607f1dbe8d8:localhost:node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6:Node 7e8999f4-d421-4d1d-b09b-f8562edb0ac6 :: true 2021-06-25 07:48:06 | [Mutex] waiting for: [received:nodes:7aca38cb-b24a-4e20-920e-4932a79afbcf:localhost] 2021-06-25 07:48:06 | [Mutex] received everything. 2021-06-25 07:48:06 | [Mutex] isItemNotified: received:node:7aca38cb-b24a-4e20-920e-4932a79afbcf:localhost:node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6:Node 7e8999f4-d421-4d1d-b09b-f8562edb0ac6 :: false |
createNodes | 1.566s |
2021-06-25 07:48:02 |
2021-06-25 07:48:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:02 | ------------------------------------ 2021-06-25 07:48:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7e8999f4-d421-4d1d-b09b-f8562edb0ac6</title></pubsub></data> 2021-06-25 07:48:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-25 07:48:04 | [Mutex] waiting for: [received:nodes:bba802e5-4158-4bac-ac6e-7ada5101167c:localhost] 2021-06-25 07:48:04 | [Mutex] received everything. 2021-06-25 07:48:04 | [Mutex] isItemNotified: received:node:bba802e5-4158-4bac-ac6e-7ada5101167c:localhost:node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6:Node 7e8999f4-d421-4d1d-b09b-f8562edb0ac6 :: true |
createSubnodes | 1.030s |
2021-06-25 07:48:04 |
2021-06-25 07:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:04 | ------------------------------------ 2021-06-25 07:48:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-03835cf4-5129-4b4c-8294-1a23c0f8e330</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 03835cf4-5129-4b4c-8294-1a23c0f8e330</title></pubsub></data> 2021-06-25 07:48:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-25 07:48:05 | [Mutex] waiting for: [received:nodes:5a2f4a14-eff4-46a7-b469-d4c50f806ed4:localhost] 2021-06-25 07:48:05 | [Mutex] received everything. 2021-06-25 07:48:05 | [Mutex] isItemNotified: received:node:5a2f4a14-eff4-46a7-b469-d4c50f806ed4:localhost:node-03835cf4-5129-4b4c-8294-1a23c0f8e330:Node 03835cf4-5129-4b4c-8294-1a23c0f8e330 :: true |
deleteNodes | 1.016s |
2021-06-25 07:48:11 |
2021-06-25 07:48:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:11 | ------------------------------------ 2021-06-25 07:48:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-03835cf4-5129-4b4c-8294-1a23c0f8e330</node></data> 2021-06-25 07:48:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-25 07:48:12 | [Mutex] waiting for: [received:nodes:1672545e-e30e-475a-8bf4-f8a524f4acca:localhost] 2021-06-25 07:48:12 | [Mutex] waiting for: [received:nodes:1672545e-e30e-475a-8bf4-f8a524f4acca:localhost] 2021-06-25 07:48:12 | [Mutex] received everything. 2021-06-25 07:48:12 | [Mutex] isItemNotified: received:node:1672545e-e30e-475a-8bf4-f8a524f4acca:localhost:node-03835cf4-5129-4b4c-8294-1a23c0f8e330:Node 03835cf4-5129-4b4c-8294-1a23c0f8e330 :: false |
deleteSubnodes | 1.128s |
2021-06-25 07:48:09 |
2021-06-25 07:48:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:09 | ------------------------------------ 2021-06-25 07:48:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</node></data> 2021-06-25 07:48:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-25 07:48:11 | [Mutex] waiting for: [received:nodes:dc596d9c-f266-4c58-93ec-37c75263c611:localhost] 2021-06-25 07:48:11 | [Mutex] received everything. 2021-06-25 07:48:11 | [Mutex] isItemNotified: received:node:dc596d9c-f266-4c58-93ec-37c75263c611:localhost:node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6:Node 7e8999f4-d421-4d1d-b09b-f8562edb0ac6 :: false 2021-06-25 07:48:11 | [Mutex] waiting for: [received:nodes:9b4256c0-b6b5-4f29-baac-ca24e4174127:localhost] 2021-06-25 07:48:11 | [Mutex] received everything. 2021-06-25 07:48:11 | [Mutex] isItemNotified: received:node:9b4256c0-b6b5-4f29-baac-ca24e4174127:localhost:node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6:Node 7e8999f4-d421-4d1d-b09b-f8562edb0ac6 :: false |
publishItemsToNodes | 0.293s |
2021-06-25 07:48:07 |
2021-06-25 07:48:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:07 | ------------------------------------ 2021-06-25 07:48:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</node><item-id>item-c0607d59-0e06-4285-b3df-6571928c34ba</item-id><entry><test>item-c0607d59-0e06-4285-b3df-6571928c34ba</test></entry></data> 2021-06-25 07:48:08 | 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-c0607d59-0e06-4285-b3df-6571928c34ba</value></item-id></result> 2021-06-25 07:48:08 | [Mutex] received everything. 2021-06-25 07:48:08 | [Mutex] isItemNotified: published:item:notifieditem-c0607d59-0e06-4285-b3df-6571928c34ba:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2021-06-25 07:48:08 |
2021-06-25 07:48:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:08 | ------------------------------------ 2021-06-25 07:48:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</node><item-id>item-c0607d59-0e06-4285-b3df-6571928c34ba</item-id></data> 2021-06-25 07:48:08 | 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-c0607d59-0e06-4285-b3df-6571928c34ba</value></item-id></result> 2021-06-25 07:48:08 | [Mutex] received everything. 2021-06-25 07:48:08 | [Mutex] isItemNotified: retracted:item:notifieditem-c0607d59-0e06-4285-b3df-6571928c34ba:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2021-06-25 07:48:08 |
2021-06-25 07:48:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:08 | ------------------------------------ 2021-06-25 07:48:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</node><item-id>item-c0607d59-0e06-4285-b3df-6571928c34ba</item-id></data> 2021-06-25 07:48:08 | 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-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</value></node><item-id type="text-single" label="Item ID"><value>item-c0607d59-0e06-4285-b3df-6571928c34ba</value></item-id><item type="text-multi" label="Item"><value><item id="item-c0607d59-0e06-4285-b3df-6571928c34ba"><test>item-c0607d59-0e06-4285-b3df-6571928c34ba</test></item></value></item></result> 2021-06-25 07:48:08 | [Mutex] notify: [retrieved:item:item-c0607d59-0e06-4285-b3df-6571928c34ba:payload-matches:true:localhost] 2021-06-25 07:48:08 | [Mutex] received everything. 2021-06-25 07:48:08 | [Mutex] isItemNotified: retrieved:item:item-c0607d59-0e06-4285-b3df-6571928c34ba:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-06-25 07:48:08 |
2021-06-25 07:48:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:08 | ------------------------------------ 2021-06-25 07:48:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-25 07:48:08 | 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-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</value><value>node-03835cf4-5129-4b4c-8294-1a23c0f8e330</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-06-25 07:48:08 |
2021-06-25 07:48:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:08 | ------------------------------------ 2021-06-25 07:48:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6)</node-pattern></data> 2021-06-25 07:48:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.182s |
2021-06-25 07:48:06 |
2021-06-25 07:48:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:06 | ------------------------------------ 2021-06-25 07:48:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-25 07:48: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.227s |
2021-06-25 07:48:08 |
2021-06-25 07:48:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-25 07:48:08 | ------------------------------------ 2021-06-25 07:48:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7e8999f4-d421-4d1d-b09b-f8562edb0ac6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-25 07:48:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |