Test duration : 10.246s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2020-11-18 21:58:17 |
2020-11-18 21:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:17 | ------------------------------------ 2020-11-18 21:58:17 | [Mutex] waiting for: [configured:node:node-dc41da90-d423-4bce-9dc7-599fec56750f:node-261b34f2-305a-4b60-97bb-af93105044b2] 2020-11-18 21:58:17 | [Mutex] received everything. 2020-11-18 21:58:17 | [Mutex] isItemNotified: configured:node:node-dc41da90-d423-4bce-9dc7-599fec56750f:node-261b34f2-305a-4b60-97bb-af93105044b2 :: true 2020-11-18 21:58:18 | [Mutex] waiting for: [received:nodes:988c5d8b-32b7-41ac-8b39-c810c2b102a5:localhost] 2020-11-18 21:58:18 | [Mutex] received everything. 2020-11-18 21:58:18 | [Mutex] isItemNotified: received:node:988c5d8b-32b7-41ac-8b39-c810c2b102a5:localhost:node-dc41da90-d423-4bce-9dc7-599fec56750f:Node dc41da90-d423-4bce-9dc7-599fec56750f :: true 2020-11-18 21:58:18 | [Mutex] waiting for: [received:nodes:7228c0da-0c4e-4d36-aa06-78cb46fd800f:localhost] 2020-11-18 21:58:18 | [Mutex] waiting for: [received:nodes:7228c0da-0c4e-4d36-aa06-78cb46fd800f:localhost] 2020-11-18 21:58:18 | [Mutex] waiting for: [received:nodes:7228c0da-0c4e-4d36-aa06-78cb46fd800f:localhost] 2020-11-18 21:58:18 | [Mutex] received everything. 2020-11-18 21:58:18 | [Mutex] isItemNotified: received:node:7228c0da-0c4e-4d36-aa06-78cb46fd800f:localhost:node-dc41da90-d423-4bce-9dc7-599fec56750f:Node dc41da90-d423-4bce-9dc7-599fec56750f :: false |
createNodes | 1.514s |
2020-11-18 21:58:15 |
2020-11-18 21:58:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:15 | ------------------------------------ 2020-11-18 21:58:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dc41da90-d423-4bce-9dc7-599fec56750f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dc41da90-d423-4bce-9dc7-599fec56750f</title></pubsub></data> 2020-11-18 21:58:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-18 21:58:16 | [Mutex] waiting for: [received:nodes:5c792c51-8a0c-4a39-947b-7325a2d7b06b:localhost] 2020-11-18 21:58:16 | [Mutex] waiting for: [received:nodes:5c792c51-8a0c-4a39-947b-7325a2d7b06b:localhost] 2020-11-18 21:58:16 | [Mutex] received everything. 2020-11-18 21:58:16 | [Mutex] isItemNotified: received:node:5c792c51-8a0c-4a39-947b-7325a2d7b06b:localhost:node-dc41da90-d423-4bce-9dc7-599fec56750f:Node dc41da90-d423-4bce-9dc7-599fec56750f :: true |
createSubnodes | 1.030s |
2020-11-18 21:58:16 |
2020-11-18 21:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:16 | ------------------------------------ 2020-11-18 21:58:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-261b34f2-305a-4b60-97bb-af93105044b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 261b34f2-305a-4b60-97bb-af93105044b2</title></pubsub></data> 2020-11-18 21:58:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-18 21:58:17 | [Mutex] waiting for: [received:nodes:0e45a6ad-541e-4e04-87c8-671dfaf926cd:localhost] 2020-11-18 21:58:17 | [Mutex] waiting for: [received:nodes:0e45a6ad-541e-4e04-87c8-671dfaf926cd:localhost] 2020-11-18 21:58:17 | [Mutex] waiting for: [received:nodes:0e45a6ad-541e-4e04-87c8-671dfaf926cd:localhost] 2020-11-18 21:58:17 | [Mutex] waiting for: [received:nodes:0e45a6ad-541e-4e04-87c8-671dfaf926cd:localhost] 2020-11-18 21:58:17 | [Mutex] received everything. 2020-11-18 21:58:17 | [Mutex] isItemNotified: received:node:0e45a6ad-541e-4e04-87c8-671dfaf926cd:localhost:node-261b34f2-305a-4b60-97bb-af93105044b2:Node 261b34f2-305a-4b60-97bb-af93105044b2 :: true |
deleteNodes | 1.017s |
2020-11-18 21:58:23 |
2020-11-18 21:58:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:23 | ------------------------------------ 2020-11-18 21:58:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-261b34f2-305a-4b60-97bb-af93105044b2</node></data> 2020-11-18 21:58:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-18 21:58:24 | [Mutex] waiting for: [received:nodes:7058696f-c09b-4828-861f-04a643250182:localhost] 2020-11-18 21:58:24 | [Mutex] received everything. 2020-11-18 21:58:24 | [Mutex] isItemNotified: received:node:7058696f-c09b-4828-861f-04a643250182:localhost:node-261b34f2-305a-4b60-97bb-af93105044b2:Node 261b34f2-305a-4b60-97bb-af93105044b2 :: false |
deleteSubnodes | 1.146s |
2020-11-18 21:58:22 |
2020-11-18 21:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:22 | ------------------------------------ 2020-11-18 21:58:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dc41da90-d423-4bce-9dc7-599fec56750f</node></data> 2020-11-18 21:58:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-18 21:58:23 | [Mutex] waiting for: [received:nodes:54506293-222d-437c-8ffd-235072ed72b9:localhost] 2020-11-18 21:58:23 | [Mutex] waiting for: [received:nodes:54506293-222d-437c-8ffd-235072ed72b9:localhost] 2020-11-18 21:58:23 | [Mutex] received everything. 2020-11-18 21:58:23 | [Mutex] isItemNotified: received:node:54506293-222d-437c-8ffd-235072ed72b9:localhost:node-dc41da90-d423-4bce-9dc7-599fec56750f:Node dc41da90-d423-4bce-9dc7-599fec56750f :: false 2020-11-18 21:58:23 | [Mutex] waiting for: [received:nodes:980d3ce3-e727-48f2-be96-1ec99197b4f7:localhost] 2020-11-18 21:58:23 | [Mutex] received everything. 2020-11-18 21:58:23 | [Mutex] isItemNotified: received:node:980d3ce3-e727-48f2-be96-1ec99197b4f7:localhost:node-dc41da90-d423-4bce-9dc7-599fec56750f:Node dc41da90-d423-4bce-9dc7-599fec56750f :: false |
publishItemsToNodes | 0.200s |
2020-11-18 21:58:20 |
2020-11-18 21:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:20 | ------------------------------------ 2020-11-18 21:58:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-dc41da90-d423-4bce-9dc7-599fec56750f</node><item-id>item-0f4d1d23-6400-4fc4-8a31-0314dc12d909</item-id><entry><test>item-0f4d1d23-6400-4fc4-8a31-0314dc12d909</test></entry></data> 2020-11-18 21:58:20 | 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-0f4d1d23-6400-4fc4-8a31-0314dc12d909</value></item-id></result> 2020-11-18 21:58:20 | [Mutex] received everything. 2020-11-18 21:58:20 | [Mutex] isItemNotified: published:item:notifieditem-0f4d1d23-6400-4fc4-8a31-0314dc12d909:admin@test-domain.com :: true |
retractItemsFromNodes | 0.324s |
2020-11-18 21:58:20 |
2020-11-18 21:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:20 | ------------------------------------ 2020-11-18 21:58:20 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-dc41da90-d423-4bce-9dc7-599fec56750f</node><item-id>item-0f4d1d23-6400-4fc4-8a31-0314dc12d909</item-id></data> 2020-11-18 21:58:20 | 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-0f4d1d23-6400-4fc4-8a31-0314dc12d909</value></item-id></result> 2020-11-18 21:58:21 | [Mutex] received everything. 2020-11-18 21:58:21 | [Mutex] isItemNotified: retracted:item:notifieditem-0f4d1d23-6400-4fc4-8a31-0314dc12d909:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.309s |
2020-11-18 21:58:20 |
2020-11-18 21:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:20 | ------------------------------------ 2020-11-18 21:58:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-dc41da90-d423-4bce-9dc7-599fec56750f</node><item-id>item-0f4d1d23-6400-4fc4-8a31-0314dc12d909</item-id></data> 2020-11-18 21:58:20 | 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-dc41da90-d423-4bce-9dc7-599fec56750f</value></node><item-id type="text-single" label="Item ID"><value>item-0f4d1d23-6400-4fc4-8a31-0314dc12d909</value></item-id><item type="text-multi" label="Item"><value><item id="item-0f4d1d23-6400-4fc4-8a31-0314dc12d909"><test>item-0f4d1d23-6400-4fc4-8a31-0314dc12d909</test></item></value></item></result> 2020-11-18 21:58:20 | [Mutex] notify: [retrieved:item:item-0f4d1d23-6400-4fc4-8a31-0314dc12d909:payload-matches:true:localhost] 2020-11-18 21:58:20 | [Mutex] received everything. 2020-11-18 21:58:20 | [Mutex] isItemNotified: retrieved:item:item-0f4d1d23-6400-4fc4-8a31-0314dc12d909:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-11-18 21:58:20 |
2020-11-18 21:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:20 | ------------------------------------ 2020-11-18 21:58:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-18 21:58:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-dc41da90-d423-4bce-9dc7-599fec56750f</value><value>test</value><value>node-261b34f2-305a-4b60-97bb-af93105044b2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-11-18 21:58:20 |
2020-11-18 21:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:20 | ------------------------------------ 2020-11-18 21:58:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dc41da90-d423-4bce-9dc7-599fec56750f)</node-pattern></data> 2020-11-18 21:58:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.148s |
2020-11-18 21:58:18 |
2020-11-18 21:58:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:18 | ------------------------------------ 2020-11-18 21:58:18 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-dc41da90-d423-4bce-9dc7-599fec56750f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-18 21:58:19 | 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-11-18 21:58:21 |
2020-11-18 21:58:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-18 21:58:21 | ------------------------------------ 2020-11-18 21:58:21 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-dc41da90-d423-4bce-9dc7-599fec56750f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-18 21:58:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |