Test duration : 10.144s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2021-05-25 22:42:23 |
2021-05-25 22:42:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:23 | ------------------------------------ 2021-05-25 22:42:23 | [Mutex] waiting for: [configured:node:node-35c94fd1-2131-410d-b9fa-d3784c210737:node-48277329-85dd-45df-91bf-6f4f0b6bc48a] 2021-05-25 22:42:23 | [Mutex] received everything. 2021-05-25 22:42:23 | [Mutex] isItemNotified: configured:node:node-35c94fd1-2131-410d-b9fa-d3784c210737:node-48277329-85dd-45df-91bf-6f4f0b6bc48a :: true 2021-05-25 22:42:24 | [Mutex] waiting for: [received:nodes:129305a9-2382-42f1-a400-d82619b0adc4:localhost] 2021-05-25 22:42:24 | [Mutex] received everything. 2021-05-25 22:42:24 | [Mutex] isItemNotified: received:node:129305a9-2382-42f1-a400-d82619b0adc4:localhost:node-35c94fd1-2131-410d-b9fa-d3784c210737:Node 35c94fd1-2131-410d-b9fa-d3784c210737 :: true 2021-05-25 22:42:24 | [Mutex] waiting for: [received:nodes:7dbcf4e8-cd6e-4170-92f1-de1ac0ad33d1:localhost] 2021-05-25 22:42:24 | [Mutex] received everything. 2021-05-25 22:42:24 | [Mutex] isItemNotified: received:node:7dbcf4e8-cd6e-4170-92f1-de1ac0ad33d1:localhost:node-35c94fd1-2131-410d-b9fa-d3784c210737:Node 35c94fd1-2131-410d-b9fa-d3784c210737 :: false |
createNodes | 1.462s |
2021-05-25 22:42:21 |
2021-05-25 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:21 | ------------------------------------ 2021-05-25 22:42:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-35c94fd1-2131-410d-b9fa-d3784c210737</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 35c94fd1-2131-410d-b9fa-d3784c210737</title></pubsub></data> 2021-05-25 22:42:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:42:22 | [Mutex] waiting for: [received:nodes:845a5cc7-16ab-4a23-955d-0c654ff5e633:localhost] 2021-05-25 22:42:22 | [Mutex] received everything. 2021-05-25 22:42:22 | [Mutex] isItemNotified: received:node:845a5cc7-16ab-4a23-955d-0c654ff5e633:localhost:node-35c94fd1-2131-410d-b9fa-d3784c210737:Node 35c94fd1-2131-410d-b9fa-d3784c210737 :: true |
createSubnodes | 1.030s |
2021-05-25 22:42:22 |
2021-05-25 22:42:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:22 | ------------------------------------ 2021-05-25 22:42:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-48277329-85dd-45df-91bf-6f4f0b6bc48a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 48277329-85dd-45df-91bf-6f4f0b6bc48a</title></pubsub></data> 2021-05-25 22:42:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:42:23 | [Mutex] waiting for: [received:nodes:abffc321-35d0-4b7b-98c0-c1362d55898f:localhost] 2021-05-25 22:42:23 | [Mutex] waiting for: [received:nodes:abffc321-35d0-4b7b-98c0-c1362d55898f:localhost] 2021-05-25 22:42:23 | [Mutex] received everything. 2021-05-25 22:42:23 | [Mutex] isItemNotified: received:node:abffc321-35d0-4b7b-98c0-c1362d55898f:localhost:node-48277329-85dd-45df-91bf-6f4f0b6bc48a:Node 48277329-85dd-45df-91bf-6f4f0b6bc48a :: true |
deleteNodes | 1.021s |
2021-05-25 22:42:29 |
2021-05-25 22:42:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:29 | ------------------------------------ 2021-05-25 22:42:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-48277329-85dd-45df-91bf-6f4f0b6bc48a</node></data> 2021-05-25 22:42:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:42:30 | [Mutex] waiting for: [received:nodes:bd2313b6-2c61-437f-8403-09172de37f63:localhost] 2021-05-25 22:42:30 | [Mutex] waiting for: [received:nodes:bd2313b6-2c61-437f-8403-09172de37f63:localhost] 2021-05-25 22:42:30 | [Mutex] received everything. 2021-05-25 22:42:30 | [Mutex] isItemNotified: received:node:bd2313b6-2c61-437f-8403-09172de37f63:localhost:node-48277329-85dd-45df-91bf-6f4f0b6bc48a:Node 48277329-85dd-45df-91bf-6f4f0b6bc48a :: false |
deleteSubnodes | 1.201s |
2021-05-25 22:42:28 |
2021-05-25 22:42:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:28 | ------------------------------------ 2021-05-25 22:42:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-35c94fd1-2131-410d-b9fa-d3784c210737</node></data> 2021-05-25 22:42:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:42:29 | [Mutex] waiting for: [received:nodes:f64d5725-379b-491c-99fe-2f67a4e21fe9:localhost] 2021-05-25 22:42:29 | [Mutex] waiting for: [received:nodes:f64d5725-379b-491c-99fe-2f67a4e21fe9:localhost] 2021-05-25 22:42:29 | [Mutex] received everything. 2021-05-25 22:42:29 | [Mutex] isItemNotified: received:node:f64d5725-379b-491c-99fe-2f67a4e21fe9:localhost:node-35c94fd1-2131-410d-b9fa-d3784c210737:Node 35c94fd1-2131-410d-b9fa-d3784c210737 :: false 2021-05-25 22:42:29 | [Mutex] waiting for: [received:nodes:206e2293-ff78-49e4-a09d-d812513ff852:localhost] 2021-05-25 22:42:29 | [Mutex] received everything. 2021-05-25 22:42:29 | [Mutex] isItemNotified: received:node:206e2293-ff78-49e4-a09d-d812513ff852:localhost:node-35c94fd1-2131-410d-b9fa-d3784c210737:Node 35c94fd1-2131-410d-b9fa-d3784c210737 :: false |
publishItemsToNodes | 0.314s |
2021-05-25 22:42:25 |
2021-05-25 22:42:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:25 | ------------------------------------ 2021-05-25 22:42:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-35c94fd1-2131-410d-b9fa-d3784c210737</node><item-id>item-fd4a1f77-611c-4fce-9b63-c18578ecd286</item-id><entry><test>item-fd4a1f77-611c-4fce-9b63-c18578ecd286</test></entry></data> 2021-05-25 22:42:26 | 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-fd4a1f77-611c-4fce-9b63-c18578ecd286</value></item-id></result> 2021-05-25 22:42:26 | [Mutex] waiting for: [published:item:notifieditem-fd4a1f77-611c-4fce-9b63-c18578ecd286:admin@test-domain.com] 2021-05-25 22:42:26 | [Mutex] received everything. 2021-05-25 22:42:26 | [Mutex] isItemNotified: published:item:notifieditem-fd4a1f77-611c-4fce-9b63-c18578ecd286:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2021-05-25 22:42:26 |
2021-05-25 22:42:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:26 | ------------------------------------ 2021-05-25 22:42:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-35c94fd1-2131-410d-b9fa-d3784c210737</node><item-id>item-fd4a1f77-611c-4fce-9b63-c18578ecd286</item-id></data> 2021-05-25 22:42:26 | 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-fd4a1f77-611c-4fce-9b63-c18578ecd286</value></item-id></result> 2021-05-25 22:42:26 | [Mutex] received everything. 2021-05-25 22:42:26 | [Mutex] isItemNotified: retracted:item:notifieditem-fd4a1f77-611c-4fce-9b63-c18578ecd286:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.326s |
2021-05-25 22:42:26 |
2021-05-25 22:42:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:26 | ------------------------------------ 2021-05-25 22:42:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-35c94fd1-2131-410d-b9fa-d3784c210737</node><item-id>item-fd4a1f77-611c-4fce-9b63-c18578ecd286</item-id></data> 2021-05-25 22:42:26 | 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-35c94fd1-2131-410d-b9fa-d3784c210737</value></node><item-id type="text-single" label="Item ID"><value>item-fd4a1f77-611c-4fce-9b63-c18578ecd286</value></item-id><item type="text-multi" label="Item"><value><item id="item-fd4a1f77-611c-4fce-9b63-c18578ecd286"><test>item-fd4a1f77-611c-4fce-9b63-c18578ecd286</test></item></value></item></result> 2021-05-25 22:42:26 | [Mutex] notify: [retrieved:item:item-fd4a1f77-611c-4fce-9b63-c18578ecd286:payload-matches:true:localhost] 2021-05-25 22:42:26 | [Mutex] received everything. 2021-05-25 22:42:26 | [Mutex] isItemNotified: retrieved:item:item-fd4a1f77-611c-4fce-9b63-c18578ecd286:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-05-25 22:42:26 |
2021-05-25 22:42:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:26 | ------------------------------------ 2021-05-25 22:42:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-25 22:42:26 | 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-35c94fd1-2131-410d-b9fa-d3784c210737</value><value>node-48277329-85dd-45df-91bf-6f4f0b6bc48a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-05-25 22:42:26 |
2021-05-25 22:42:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:26 | ------------------------------------ 2021-05-25 22:42:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-35c94fd1-2131-410d-b9fa-d3784c210737)</node-pattern></data> 2021-05-25 22:42:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.123s |
2021-05-25 22:42:24 |
2021-05-25 22:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:24 | ------------------------------------ 2021-05-25 22:42:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-35c94fd1-2131-410d-b9fa-d3784c210737</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-25 22:42:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2021-05-25 22:42:26 |
2021-05-25 22:42:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:42:26 | ------------------------------------ 2021-05-25 22:42:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-35c94fd1-2131-410d-b9fa-d3784c210737</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-25 22:42:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |