Test duration : 10.206s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.130s |
2021-10-07 22:37:07 |
2021-10-07 22:37:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:07 | ------------------------------------ 2021-10-07 22:37:07 | [Mutex] waiting for: [configured:node:node-26166632-fcea-47cb-bdbe-9709a720926f:node-6640a9f3-cd5a-4f58-a719-5c8f6749880e] 2021-10-07 22:37:07 | [Mutex] received everything. 2021-10-07 22:37:07 | [Mutex] isItemNotified: configured:node:node-26166632-fcea-47cb-bdbe-9709a720926f:node-6640a9f3-cd5a-4f58-a719-5c8f6749880e :: true 2021-10-07 22:37:08 | [Mutex] waiting for: [received:nodes:89f08136-a1e7-4378-804e-74a087954a30:localhost] 2021-10-07 22:37:08 | [Mutex] received everything. 2021-10-07 22:37:08 | [Mutex] isItemNotified: received:node:89f08136-a1e7-4378-804e-74a087954a30:localhost:node-26166632-fcea-47cb-bdbe-9709a720926f:Node 26166632-fcea-47cb-bdbe-9709a720926f :: true 2021-10-07 22:37:08 | [Mutex] waiting for: [received:nodes:54941c4a-ed9b-4c86-8017-aaf7a9ab9c35:localhost] 2021-10-07 22:37:08 | [Mutex] waiting for: [received:nodes:54941c4a-ed9b-4c86-8017-aaf7a9ab9c35:localhost] 2021-10-07 22:37:08 | [Mutex] received everything. 2021-10-07 22:37:08 | [Mutex] isItemNotified: received:node:54941c4a-ed9b-4c86-8017-aaf7a9ab9c35:localhost:node-26166632-fcea-47cb-bdbe-9709a720926f:Node 26166632-fcea-47cb-bdbe-9709a720926f :: false |
createNodes | 1.481s |
2021-10-07 22:37:05 |
2021-10-07 22:37:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:05 | ------------------------------------ 2021-10-07 22:37:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-26166632-fcea-47cb-bdbe-9709a720926f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 26166632-fcea-47cb-bdbe-9709a720926f</title></pubsub></data> 2021-10-07 22:37:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:37:06 | [Mutex] waiting for: [received:nodes:4aff50ab-c233-4493-8b01-1ade339d2a61:localhost] 2021-10-07 22:37:06 | [Mutex] received everything. 2021-10-07 22:37:06 | [Mutex] isItemNotified: received:node:4aff50ab-c233-4493-8b01-1ade339d2a61:localhost:node-26166632-fcea-47cb-bdbe-9709a720926f:Node 26166632-fcea-47cb-bdbe-9709a720926f :: true |
createSubnodes | 1.028s |
2021-10-07 22:37:06 |
2021-10-07 22:37:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:06 | ------------------------------------ 2021-10-07 22:37:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6640a9f3-cd5a-4f58-a719-5c8f6749880e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6640a9f3-cd5a-4f58-a719-5c8f6749880e</title></pubsub></data> 2021-10-07 22:37:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:37:07 | [Mutex] waiting for: [received:nodes:ddc77e2b-ab84-46a7-b116-d5ab33e0d8be:localhost] 2021-10-07 22:37:07 | [Mutex] received everything. 2021-10-07 22:37:07 | [Mutex] isItemNotified: received:node:ddc77e2b-ab84-46a7-b116-d5ab33e0d8be:localhost:node-6640a9f3-cd5a-4f58-a719-5c8f6749880e:Node 6640a9f3-cd5a-4f58-a719-5c8f6749880e :: true |
deleteNodes | 1.028s |
2021-10-07 22:37:13 |
2021-10-07 22:37:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:13 | ------------------------------------ 2021-10-07 22:37:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6640a9f3-cd5a-4f58-a719-5c8f6749880e</node></data> 2021-10-07 22:37:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:37:14 | [Mutex] waiting for: [received:nodes:978e6180-f7b6-4893-ae56-3fb68d52acf3:localhost] 2021-10-07 22:37:14 | [Mutex] received everything. 2021-10-07 22:37:14 | [Mutex] isItemNotified: received:node:978e6180-f7b6-4893-ae56-3fb68d52acf3:localhost:node-6640a9f3-cd5a-4f58-a719-5c8f6749880e:Node 6640a9f3-cd5a-4f58-a719-5c8f6749880e :: false |
deleteSubnodes | 1.183s |
2021-10-07 22:37:12 |
2021-10-07 22:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:12 | ------------------------------------ 2021-10-07 22:37:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-26166632-fcea-47cb-bdbe-9709a720926f</node></data> 2021-10-07 22:37:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:37:13 | [Mutex] waiting for: [received:nodes:d01bbfd8-e595-4bc6-b17e-c66df6879578:localhost] 2021-10-07 22:37:13 | [Mutex] received everything. 2021-10-07 22:37:13 | [Mutex] isItemNotified: received:node:d01bbfd8-e595-4bc6-b17e-c66df6879578:localhost:node-26166632-fcea-47cb-bdbe-9709a720926f:Node 26166632-fcea-47cb-bdbe-9709a720926f :: false 2021-10-07 22:37:13 | [Mutex] waiting for: [received:nodes:c95664ed-04f9-4e25-ba23-5d37d2d9af58:localhost] 2021-10-07 22:37:13 | [Mutex] received everything. 2021-10-07 22:37:13 | [Mutex] isItemNotified: received:node:c95664ed-04f9-4e25-ba23-5d37d2d9af58:localhost:node-26166632-fcea-47cb-bdbe-9709a720926f:Node 26166632-fcea-47cb-bdbe-9709a720926f :: false |
publishItemsToNodes | 0.302s |
2021-10-07 22:37:09 |
2021-10-07 22:37:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:09 | ------------------------------------ 2021-10-07 22:37:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-26166632-fcea-47cb-bdbe-9709a720926f</node><item-id>item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</item-id><entry><test>item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</test></entry></data> 2021-10-07 22:37:10 | 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-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</value></item-id></result> 2021-10-07 22:37:10 | [Mutex] received everything. 2021-10-07 22:37:10 | [Mutex] isItemNotified: published:item:notifieditem-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2021-10-07 22:37:10 |
2021-10-07 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:10 | ------------------------------------ 2021-10-07 22:37:10 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-26166632-fcea-47cb-bdbe-9709a720926f</node><item-id>item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</item-id></data> 2021-10-07 22:37:10 | 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-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</value></item-id></result> 2021-10-07 22:37:10 | [Mutex] received everything. 2021-10-07 22:37:10 | [Mutex] isItemNotified: retracted:item:notifieditem-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.326s |
2021-10-07 22:37:10 |
2021-10-07 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:10 | ------------------------------------ 2021-10-07 22:37:10 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-26166632-fcea-47cb-bdbe-9709a720926f</node><item-id>item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</item-id></data> 2021-10-07 22:37:10 | 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-26166632-fcea-47cb-bdbe-9709a720926f</value></node><item-id label="Item ID" type="text-single"><value>item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</value></item-id><item label="Item" type="text-multi"><value><item id="item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2"><test>item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2</test></item></value></item></result> 2021-10-07 22:37:10 | [Mutex] notify: [retrieved:item:item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2:payload-matches:true:localhost] 2021-10-07 22:37:10 | [Mutex] received everything. 2021-10-07 22:37:10 | [Mutex] isItemNotified: retrieved:item:item-4d4b8715-66e8-4f22-9e30-7cdb0c3a3ee2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-10-07 22:37:10 |
2021-10-07 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:10 | ------------------------------------ 2021-10-07 22:37:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-07 22:37:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-26166632-fcea-47cb-bdbe-9709a720926f</value><value>node-6640a9f3-cd5a-4f58-a719-5c8f6749880e</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-10-07 22:37:10 |
2021-10-07 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:10 | ------------------------------------ 2021-10-07 22:37:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-26166632-fcea-47cb-bdbe-9709a720926f)</node-pattern></data> 2021-10-07 22:37:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.156s |
2021-10-07 22:37:08 |
2021-10-07 22:37:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:08 | ------------------------------------ 2021-10-07 22:37:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-26166632-fcea-47cb-bdbe-9709a720926f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-07 22:37:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.314s |
2021-10-07 22:37:10 |
2021-10-07 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:37:10 | ------------------------------------ 2021-10-07 22:37:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-26166632-fcea-47cb-bdbe-9709a720926f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-07 22:37:11 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |