Test duration : 9.795s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.124s |
2020-11-30 21:35:54 |
2020-11-30 21:35:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:54 | ------------------------------------ 2020-11-30 21:35:54 | [Mutex] waiting for: [configured:node:node-b283ae18-188f-495b-b58d-659aa744d9de:node-d42f0b88-972b-4291-be1d-bbe23f911ee9] 2020-11-30 21:35:54 | [Mutex] received everything. 2020-11-30 21:35:54 | [Mutex] isItemNotified: configured:node:node-b283ae18-188f-495b-b58d-659aa744d9de:node-d42f0b88-972b-4291-be1d-bbe23f911ee9 :: true 2020-11-30 21:35:55 | [Mutex] waiting for: [received:nodes:601a6d0c-95d9-4637-9f80-fb5a17519b59:localhost] 2020-11-30 21:35:55 | [Mutex] received everything. 2020-11-30 21:35:55 | [Mutex] isItemNotified: received:node:601a6d0c-95d9-4637-9f80-fb5a17519b59:localhost:node-b283ae18-188f-495b-b58d-659aa744d9de:Node b283ae18-188f-495b-b58d-659aa744d9de :: true 2020-11-30 21:35:55 | [Mutex] waiting for: [received:nodes:ff7a36dc-89f5-42bd-b4d1-2daf1296cfab:localhost] 2020-11-30 21:35:55 | [Mutex] received everything. 2020-11-30 21:35:55 | [Mutex] isItemNotified: received:node:ff7a36dc-89f5-42bd-b4d1-2daf1296cfab:localhost:node-b283ae18-188f-495b-b58d-659aa744d9de:Node b283ae18-188f-495b-b58d-659aa744d9de :: false |
createNodes | 1.493s |
2020-11-30 21:35:52 |
2020-11-30 21:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:52 | ------------------------------------ 2020-11-30 21:35:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b283ae18-188f-495b-b58d-659aa744d9de</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b283ae18-188f-495b-b58d-659aa744d9de</title></pubsub></data> 2020-11-30 21:35:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:35:53 | [Mutex] waiting for: [received:nodes:58393604-2c8c-4d97-b437-a58d88ba9b53:localhost] 2020-11-30 21:35:53 | [Mutex] received everything. 2020-11-30 21:35:53 | [Mutex] isItemNotified: received:node:58393604-2c8c-4d97-b437-a58d88ba9b53:localhost:node-b283ae18-188f-495b-b58d-659aa744d9de:Node b283ae18-188f-495b-b58d-659aa744d9de :: true |
createSubnodes | 1.020s |
2020-11-30 21:35:53 |
2020-11-30 21:35:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:53 | ------------------------------------ 2020-11-30 21:35:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d42f0b88-972b-4291-be1d-bbe23f911ee9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d42f0b88-972b-4291-be1d-bbe23f911ee9</title></pubsub></data> 2020-11-30 21:35:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:35:54 | [Mutex] waiting for: [received:nodes:37e53fc8-8786-4164-847f-dbe782aaf37b:localhost] 2020-11-30 21:35:54 | [Mutex] received everything. 2020-11-30 21:35:54 | [Mutex] isItemNotified: received:node:37e53fc8-8786-4164-847f-dbe782aaf37b:localhost:node-d42f0b88-972b-4291-be1d-bbe23f911ee9:Node d42f0b88-972b-4291-be1d-bbe23f911ee9 :: true |
deleteNodes | 1.015s |
2020-11-30 21:36:00 |
2020-11-30 21:36:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:36:00 | ------------------------------------ 2020-11-30 21:36:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d42f0b88-972b-4291-be1d-bbe23f911ee9</node></data> 2020-11-30 21:36:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:36:01 | [Mutex] waiting for: [received:nodes:55ff1081-b452-4555-8a43-2c09044d0257:localhost] 2020-11-30 21:36:01 | [Mutex] received everything. 2020-11-30 21:36:01 | [Mutex] isItemNotified: received:node:55ff1081-b452-4555-8a43-2c09044d0257:localhost:node-d42f0b88-972b-4291-be1d-bbe23f911ee9:Node d42f0b88-972b-4291-be1d-bbe23f911ee9 :: false |
deleteSubnodes | 1.114s |
2020-11-30 21:35:59 |
2020-11-30 21:35:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:59 | ------------------------------------ 2020-11-30 21:35:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b283ae18-188f-495b-b58d-659aa744d9de</node></data> 2020-11-30 21:35:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:36:00 | [Mutex] waiting for: [received:nodes:d37cdcca-bb80-46e5-a9c0-8b4965543af2:localhost] 2020-11-30 21:36:00 | [Mutex] waiting for: [received:nodes:d37cdcca-bb80-46e5-a9c0-8b4965543af2:localhost] 2020-11-30 21:36:00 | [Mutex] waiting for: [received:nodes:d37cdcca-bb80-46e5-a9c0-8b4965543af2:localhost] 2020-11-30 21:36:00 | [Mutex] received everything. 2020-11-30 21:36:00 | [Mutex] isItemNotified: received:node:d37cdcca-bb80-46e5-a9c0-8b4965543af2:localhost:node-b283ae18-188f-495b-b58d-659aa744d9de:Node b283ae18-188f-495b-b58d-659aa744d9de :: false 2020-11-30 21:36:00 | [Mutex] waiting for: [received:nodes:10ebf42b-e52f-454c-b7f1-5a32fdcdd186:localhost] 2020-11-30 21:36:00 | [Mutex] received everything. 2020-11-30 21:36:00 | [Mutex] isItemNotified: received:node:10ebf42b-e52f-454c-b7f1-5a32fdcdd186:localhost:node-b283ae18-188f-495b-b58d-659aa744d9de:Node b283ae18-188f-495b-b58d-659aa744d9de :: false |
publishItemsToNodes | 0.217s |
2020-11-30 21:35:57 |
2020-11-30 21:35:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:57 | ------------------------------------ 2020-11-30 21:35:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b283ae18-188f-495b-b58d-659aa744d9de</node><item-id>item-482acf89-1dd3-403f-a651-8a8c42784954</item-id><entry><test>item-482acf89-1dd3-403f-a651-8a8c42784954</test></entry></data> 2020-11-30 21:35:57 | 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-482acf89-1dd3-403f-a651-8a8c42784954</value></item-id></result> 2020-11-30 21:35:57 | [Mutex] received everything. 2020-11-30 21:35:57 | [Mutex] isItemNotified: published:item:notifieditem-482acf89-1dd3-403f-a651-8a8c42784954:admin@test-domain.com :: true |
retractItemsFromNodes | 0.175s |
2020-11-30 21:35:57 |
2020-11-30 21:35:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:57 | ------------------------------------ 2020-11-30 21:35:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b283ae18-188f-495b-b58d-659aa744d9de</node><item-id>item-482acf89-1dd3-403f-a651-8a8c42784954</item-id></data> 2020-11-30 21:35:57 | 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-482acf89-1dd3-403f-a651-8a8c42784954</value></item-id></result> 2020-11-30 21:35:57 | [Mutex] received everything. 2020-11-30 21:35:57 | [Mutex] isItemNotified: retracted:item:notifieditem-482acf89-1dd3-403f-a651-8a8c42784954:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.238s |
2020-11-30 21:35:57 |
2020-11-30 21:35:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:57 | ------------------------------------ 2020-11-30 21:35:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b283ae18-188f-495b-b58d-659aa744d9de</node><item-id>item-482acf89-1dd3-403f-a651-8a8c42784954</item-id></data> 2020-11-30 21:35:57 | 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-b283ae18-188f-495b-b58d-659aa744d9de</value></node><item-id label="Item ID" type="text-single"><value>item-482acf89-1dd3-403f-a651-8a8c42784954</value></item-id><item label="Item" type="text-multi"><value><item id="item-482acf89-1dd3-403f-a651-8a8c42784954"><test>item-482acf89-1dd3-403f-a651-8a8c42784954</test></item></value></item></result> 2020-11-30 21:35:57 | [Mutex] notify: [retrieved:item:item-482acf89-1dd3-403f-a651-8a8c42784954:payload-matches:true:localhost] 2020-11-30 21:35:57 | [Mutex] received everything. 2020-11-30 21:35:57 | [Mutex] isItemNotified: retrieved:item:item-482acf89-1dd3-403f-a651-8a8c42784954:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-30 21:35:57 |
2020-11-30 21:35:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:57 | ------------------------------------ 2020-11-30 21:35:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-30 21:35:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-d42f0b88-972b-4291-be1d-bbe23f911ee9</value><value>node-b283ae18-188f-495b-b58d-659aa744d9de</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-30 21:35:57 |
2020-11-30 21:35:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:57 | ------------------------------------ 2020-11-30 21:35: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-b283ae18-188f-495b-b58d-659aa744d9de)</node-pattern></data> 2020-11-30 21:35:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.114s |
2020-11-30 21:35:55 |
2020-11-30 21:35:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:55 | ------------------------------------ 2020-11-30 21:35:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b283ae18-188f-495b-b58d-659aa744d9de</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-30 21:35: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.205s |
2020-11-30 21:35:57 |
2020-11-30 21:35:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:35:57 | ------------------------------------ 2020-11-30 21:35:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b283ae18-188f-495b-b58d-659aa744d9de</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-30 21:35:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |