Test duration : 9.518s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2022-08-11 23:02:00 |
2022-08-11 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:00 | ------------------------------------ 2022-08-11 23:02:01 | [Mutex] waiting for: [configured:node:node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d:node-54f23196-3656-4f25-a31a-82169bd8a003] 2022-08-11 23:02:01 | [Mutex] received everything. 2022-08-11 23:02:01 | [Mutex] isItemNotified: configured:node:node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d:node-54f23196-3656-4f25-a31a-82169bd8a003 :: true 2022-08-11 23:02:02 | [Mutex] waiting for: [received:nodes:b32c930a-b99c-4748-a082-9d5e3cdd19f7:localhost] 2022-08-11 23:02:02 | [Mutex] received everything. 2022-08-11 23:02:02 | [Mutex] isItemNotified: received:node:b32c930a-b99c-4748-a082-9d5e3cdd19f7:localhost:node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d:Node f934796a-3e28-4da0-90c9-ffb4bb1ff57d :: true 2022-08-11 23:02:02 | [Mutex] waiting for: [received:nodes:d9f12cce-e295-48ca-aaad-b3f6b355a750:localhost] 2022-08-11 23:02:02 | [Mutex] received everything. 2022-08-11 23:02:02 | [Mutex] isItemNotified: received:node:d9f12cce-e295-48ca-aaad-b3f6b355a750:localhost:node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d:Node f934796a-3e28-4da0-90c9-ffb4bb1ff57d :: false |
createNodes | 1.364s |
2022-08-11 23:01:58 |
2022-08-11 23:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:01:58 | ------------------------------------ 2022-08-11 23:01:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f934796a-3e28-4da0-90c9-ffb4bb1ff57d</title></pubsub></data> 2022-08-11 23:01:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:01:59 | [Mutex] waiting for: [received:nodes:0feebfc0-1109-4176-82d2-fee90adbc56d:localhost] 2022-08-11 23:01:59 | [Mutex] received everything. 2022-08-11 23:01:59 | [Mutex] isItemNotified: received:node:0feebfc0-1109-4176-82d2-fee90adbc56d:localhost:node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d:Node f934796a-3e28-4da0-90c9-ffb4bb1ff57d :: true |
createSubnodes | 1.024s |
2022-08-11 23:01:59 |
2022-08-11 23:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:01:59 | ------------------------------------ 2022-08-11 23:01:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-54f23196-3656-4f25-a31a-82169bd8a003</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 54f23196-3656-4f25-a31a-82169bd8a003</title></pubsub></data> 2022-08-11 23:01:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:02:00 | [Mutex] waiting for: [received:nodes:81d1e179-4659-4a78-87b0-d4fa2434ee24:localhost] 2022-08-11 23:02:00 | [Mutex] waiting for: [received:nodes:81d1e179-4659-4a78-87b0-d4fa2434ee24:localhost] 2022-08-11 23:02:00 | [Mutex] received everything. 2022-08-11 23:02:00 | [Mutex] isItemNotified: received:node:81d1e179-4659-4a78-87b0-d4fa2434ee24:localhost:node-54f23196-3656-4f25-a31a-82169bd8a003:Node 54f23196-3656-4f25-a31a-82169bd8a003 :: true |
deleteNodes | 1.015s |
2022-08-11 23:02:06 |
2022-08-11 23:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:06 | ------------------------------------ 2022-08-11 23:02:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-54f23196-3656-4f25-a31a-82169bd8a003</node></data> 2022-08-11 23:02:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:02:07 | [Mutex] waiting for: [received:nodes:8723a86e-6982-4f93-92ba-b4aed084dd03:localhost] 2022-08-11 23:02:07 | [Mutex] waiting for: [received:nodes:8723a86e-6982-4f93-92ba-b4aed084dd03:localhost] 2022-08-11 23:02:07 | [Mutex] received everything. 2022-08-11 23:02:07 | [Mutex] isItemNotified: received:node:8723a86e-6982-4f93-92ba-b4aed084dd03:localhost:node-54f23196-3656-4f25-a31a-82169bd8a003:Node 54f23196-3656-4f25-a31a-82169bd8a003 :: false |
deleteSubnodes | 1.171s |
2022-08-11 23:02:05 |
2022-08-11 23:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:05 | ------------------------------------ 2022-08-11 23:02:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</node></data> 2022-08-11 23:02:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:02:06 | [Mutex] waiting for: [received:nodes:0021cd75-eefd-4c91-b888-6d6a24d239bc:localhost] 2022-08-11 23:02:06 | [Mutex] received everything. 2022-08-11 23:02:06 | [Mutex] isItemNotified: received:node:0021cd75-eefd-4c91-b888-6d6a24d239bc:localhost:node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d:Node f934796a-3e28-4da0-90c9-ffb4bb1ff57d :: false 2022-08-11 23:02:06 | [Mutex] waiting for: [received:nodes:30c5949f-c8c6-46d2-b149-4de725314446:localhost] 2022-08-11 23:02:06 | [Mutex] received everything. 2022-08-11 23:02:06 | [Mutex] isItemNotified: received:node:30c5949f-c8c6-46d2-b149-4de725314446:localhost:node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d:Node f934796a-3e28-4da0-90c9-ffb4bb1ff57d :: false |
publishItemsToNodes | 0.277s |
2022-08-11 23:02:03 |
2022-08-11 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:03 | ------------------------------------ 2022-08-11 23:02:03 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</node><item-id>item-9d8df10b-7a11-4502-b3cd-75fa55ca6417</item-id><entry><test>item-9d8df10b-7a11-4502-b3cd-75fa55ca6417</test></entry></data> 2022-08-11 23:02:03 | 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-9d8df10b-7a11-4502-b3cd-75fa55ca6417</value></item-id></result> 2022-08-11 23:02:03 | [Mutex] waiting for: [published:item:notifieditem-9d8df10b-7a11-4502-b3cd-75fa55ca6417:admin@test-domain.com] 2022-08-11 23:02:03 | [Mutex] received everything. 2022-08-11 23:02:03 | [Mutex] isItemNotified: published:item:notifieditem-9d8df10b-7a11-4502-b3cd-75fa55ca6417:admin@test-domain.com :: true |
retractItemsFromNodes | 0.265s |
2022-08-11 23:02:03 |
2022-08-11 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:03 | ------------------------------------ 2022-08-11 23:02:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</node><item-id>item-9d8df10b-7a11-4502-b3cd-75fa55ca6417</item-id></data> 2022-08-11 23:02:04 | 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-9d8df10b-7a11-4502-b3cd-75fa55ca6417</value></item-id></result> 2022-08-11 23:02:04 | [Mutex] received everything. 2022-08-11 23:02:04 | [Mutex] isItemNotified: retracted:item:notifieditem-9d8df10b-7a11-4502-b3cd-75fa55ca6417:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.200s |
2022-08-11 23:02:03 |
2022-08-11 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:03 | ------------------------------------ 2022-08-11 23:02:03 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</node><item-id>item-9d8df10b-7a11-4502-b3cd-75fa55ca6417</item-id></data> 2022-08-11 23:02:03 | 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-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</value></node><item-id type="text-single" label="Item ID"><value>item-9d8df10b-7a11-4502-b3cd-75fa55ca6417</value></item-id><item type="text-multi" label="Item"><value><item id="item-9d8df10b-7a11-4502-b3cd-75fa55ca6417"><test>item-9d8df10b-7a11-4502-b3cd-75fa55ca6417</test></item></value></item></result> 2022-08-11 23:02:03 | [Mutex] notify: [retrieved:item:item-9d8df10b-7a11-4502-b3cd-75fa55ca6417:payload-matches:true:localhost] 2022-08-11 23:02:03 | [Mutex] received everything. 2022-08-11 23:02:03 | [Mutex] isItemNotified: retrieved:item:item-9d8df10b-7a11-4502-b3cd-75fa55ca6417:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-11 23:02:03 |
2022-08-11 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:03 | ------------------------------------ 2022-08-11 23:02:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-11 23:02:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-54f23196-3656-4f25-a31a-82169bd8a003</value><value>test</value><value>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-11 23:02:03 |
2022-08-11 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:03 | ------------------------------------ 2022-08-11 23:02:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d)</node-pattern></data> 2022-08-11 23:02:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2022-08-11 23:02:02 |
2022-08-11 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:02 | ------------------------------------ 2022-08-11 23:02:02 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-11 23:02:02 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.205s |
2022-08-11 23:02:04 |
2022-08-11 23:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:02:04 | ------------------------------------ 2022-08-11 23:02:04 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f934796a-3e28-4da0-90c9-ffb4bb1ff57d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-11 23:02:04 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |