Test duration : 9.835s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-08-04 23:00:54 |
2022-08-04 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:54 | ------------------------------------ 2022-08-04 23:00:54 | [Mutex] waiting for: [configured:node:node-5451183a-1660-4588-b8f1-2a1f355a309e:node-fdff0a30-1e35-4ffe-9cae-fcddaf3e213f] 2022-08-04 23:00:54 | [Mutex] received everything. 2022-08-04 23:00:54 | [Mutex] isItemNotified: configured:node:node-5451183a-1660-4588-b8f1-2a1f355a309e:node-fdff0a30-1e35-4ffe-9cae-fcddaf3e213f :: true 2022-08-04 23:00:55 | [Mutex] waiting for: [received:nodes:af4baaa9-ce84-4959-befe-f0973712000b:localhost] 2022-08-04 23:00:55 | [Mutex] received everything. 2022-08-04 23:00:55 | [Mutex] isItemNotified: received:node:af4baaa9-ce84-4959-befe-f0973712000b:localhost:node-5451183a-1660-4588-b8f1-2a1f355a309e:Node 5451183a-1660-4588-b8f1-2a1f355a309e :: true 2022-08-04 23:00:55 | [Mutex] waiting for: [received:nodes:2fa69fd0-1f8e-4287-8f94-88e3845d5175:localhost] 2022-08-04 23:00:55 | [Mutex] waiting for: [received:nodes:2fa69fd0-1f8e-4287-8f94-88e3845d5175:localhost] 2022-08-04 23:00:55 | [Mutex] received everything. 2022-08-04 23:00:55 | [Mutex] isItemNotified: received:node:2fa69fd0-1f8e-4287-8f94-88e3845d5175:localhost:node-5451183a-1660-4588-b8f1-2a1f355a309e:Node 5451183a-1660-4588-b8f1-2a1f355a309e :: false |
createNodes | 1.519s |
2022-08-04 23:00:52 |
2022-08-04 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:52 | ------------------------------------ 2022-08-04 23:00:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5451183a-1660-4588-b8f1-2a1f355a309e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5451183a-1660-4588-b8f1-2a1f355a309e</title></pubsub></data> 2022-08-04 23:00:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 23:00:53 | [Mutex] waiting for: [received:nodes:c7506518-3bad-4522-8a2b-42a65b911437:localhost] 2022-08-04 23:00:53 | [Mutex] received everything. 2022-08-04 23:00:53 | [Mutex] isItemNotified: received:node:c7506518-3bad-4522-8a2b-42a65b911437:localhost:node-5451183a-1660-4588-b8f1-2a1f355a309e:Node 5451183a-1660-4588-b8f1-2a1f355a309e :: true |
createSubnodes | 1.028s |
2022-08-04 23:00:53 |
2022-08-04 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:53 | ------------------------------------ 2022-08-04 23:00:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fdff0a30-1e35-4ffe-9cae-fcddaf3e213f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fdff0a30-1e35-4ffe-9cae-fcddaf3e213f</title></pubsub></data> 2022-08-04 23:00:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 23:00:54 | [Mutex] waiting for: [received:nodes:81133b0b-4ec6-462d-a748-026ac171ad1b:localhost] 2022-08-04 23:00:54 | [Mutex] received everything. 2022-08-04 23:00:54 | [Mutex] isItemNotified: received:node:81133b0b-4ec6-462d-a748-026ac171ad1b:localhost:node-fdff0a30-1e35-4ffe-9cae-fcddaf3e213f:Node fdff0a30-1e35-4ffe-9cae-fcddaf3e213f :: true |
deleteNodes | 1.017s |
2022-08-04 23:01:00 |
2022-08-04 23:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:01:00 | ------------------------------------ 2022-08-04 23:01:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fdff0a30-1e35-4ffe-9cae-fcddaf3e213f</node></data> 2022-08-04 23:01:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 23:01:01 | [Mutex] waiting for: [received:nodes:8a56b0da-8910-4109-a52a-14ce568e92bf:localhost] 2022-08-04 23:01:01 | [Mutex] waiting for: [received:nodes:8a56b0da-8910-4109-a52a-14ce568e92bf:localhost] 2022-08-04 23:01:01 | [Mutex] received everything. 2022-08-04 23:01:01 | [Mutex] isItemNotified: received:node:8a56b0da-8910-4109-a52a-14ce568e92bf:localhost:node-fdff0a30-1e35-4ffe-9cae-fcddaf3e213f:Node fdff0a30-1e35-4ffe-9cae-fcddaf3e213f :: false |
deleteSubnodes | 1.119s |
2022-08-04 23:00:59 |
2022-08-04 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:59 | ------------------------------------ 2022-08-04 23:00:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5451183a-1660-4588-b8f1-2a1f355a309e</node></data> 2022-08-04 23:00:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 23:01:00 | [Mutex] waiting for: [received:nodes:fbbf0bfe-f39d-4c6e-b4fd-4e3b939d8ee1:localhost] 2022-08-04 23:01:00 | [Mutex] waiting for: [received:nodes:fbbf0bfe-f39d-4c6e-b4fd-4e3b939d8ee1:localhost] 2022-08-04 23:01:00 | [Mutex] received everything. 2022-08-04 23:01:00 | [Mutex] isItemNotified: received:node:fbbf0bfe-f39d-4c6e-b4fd-4e3b939d8ee1:localhost:node-5451183a-1660-4588-b8f1-2a1f355a309e:Node 5451183a-1660-4588-b8f1-2a1f355a309e :: false 2022-08-04 23:01:00 | [Mutex] waiting for: [received:nodes:bef4a2c5-df28-4ea1-a88a-2e81af94f5fa:localhost] 2022-08-04 23:01:00 | [Mutex] received everything. 2022-08-04 23:01:00 | [Mutex] isItemNotified: received:node:bef4a2c5-df28-4ea1-a88a-2e81af94f5fa:localhost:node-5451183a-1660-4588-b8f1-2a1f355a309e:Node 5451183a-1660-4588-b8f1-2a1f355a309e :: false |
publishItemsToNodes | 0.307s |
2022-08-04 23:00:57 |
2022-08-04 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:57 | ------------------------------------ 2022-08-04 23:00:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5451183a-1660-4588-b8f1-2a1f355a309e</node><item-id>item-2e321ee8-90ef-485a-b5a8-bc8033258571</item-id><entry><test>item-2e321ee8-90ef-485a-b5a8-bc8033258571</test></entry></data> 2022-08-04 23:00:57 | 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-2e321ee8-90ef-485a-b5a8-bc8033258571</value></item-id></result> 2022-08-04 23:00:57 | [Mutex] received everything. 2022-08-04 23:00:57 | [Mutex] isItemNotified: published:item:notifieditem-2e321ee8-90ef-485a-b5a8-bc8033258571:admin@test-domain.com :: true |
retractItemsFromNodes | 0.339s |
2022-08-04 23:00:57 |
2022-08-04 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:57 | ------------------------------------ 2022-08-04 23:00:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5451183a-1660-4588-b8f1-2a1f355a309e</node><item-id>item-2e321ee8-90ef-485a-b5a8-bc8033258571</item-id></data> 2022-08-04 23:00:58 | 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-2e321ee8-90ef-485a-b5a8-bc8033258571</value></item-id></result> 2022-08-04 23:00:58 | [Mutex] received everything. 2022-08-04 23:00:58 | [Mutex] isItemNotified: retracted:item:notifieditem-2e321ee8-90ef-485a-b5a8-bc8033258571:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.260s |
2022-08-04 23:00:57 |
2022-08-04 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:57 | ------------------------------------ 2022-08-04 23:00:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5451183a-1660-4588-b8f1-2a1f355a309e</node><item-id>item-2e321ee8-90ef-485a-b5a8-bc8033258571</item-id></data> 2022-08-04 23:00:57 | 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-5451183a-1660-4588-b8f1-2a1f355a309e</value></node><item-id type="text-single" label="Item ID"><value>item-2e321ee8-90ef-485a-b5a8-bc8033258571</value></item-id><item type="text-multi" label="Item"><value><item id="item-2e321ee8-90ef-485a-b5a8-bc8033258571"><test>item-2e321ee8-90ef-485a-b5a8-bc8033258571</test></item></value></item></result> 2022-08-04 23:00:57 | [Mutex] notify: [retrieved:item:item-2e321ee8-90ef-485a-b5a8-bc8033258571:payload-matches:true:localhost] 2022-08-04 23:00:57 | [Mutex] received everything. 2022-08-04 23:00:57 | [Mutex] isItemNotified: retrieved:item:item-2e321ee8-90ef-485a-b5a8-bc8033258571:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-04 23:00:57 |
2022-08-04 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:57 | ------------------------------------ 2022-08-04 23:00:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-04 23:00:57 | 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-5451183a-1660-4588-b8f1-2a1f355a309e</value><value>node-fdff0a30-1e35-4ffe-9cae-fcddaf3e213f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-08-04 23:00:57 |
2022-08-04 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:57 | ------------------------------------ 2022-08-04 23:00:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5451183a-1660-4588-b8f1-2a1f355a309e)</node-pattern></data> 2022-08-04 23:00:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.121s |
2022-08-04 23:00:55 |
2022-08-04 23:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:55 | ------------------------------------ 2022-08-04 23:00:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5451183a-1660-4588-b8f1-2a1f355a309e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-04 23:00:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.151s |
2022-08-04 23:00:58 |
2022-08-04 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 23:00:58 | ------------------------------------ 2022-08-04 23:00:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5451183a-1660-4588-b8f1-2a1f355a309e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-04 23:00:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |