Test duration : 9.724s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-05-15 23:14:38 |
2022-05-15 23:14:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:38 | ------------------------------------ 2022-05-15 23:14:38 | [Mutex] waiting for: [configured:node:node-38cfd263-b585-47b8-a4b3-673595541092:node-afd43aca-0d4a-4ee0-9fba-667540670e63] 2022-05-15 23:14:39 | [Mutex] received everything. 2022-05-15 23:14:39 | [Mutex] isItemNotified: configured:node:node-38cfd263-b585-47b8-a4b3-673595541092:node-afd43aca-0d4a-4ee0-9fba-667540670e63 :: true 2022-05-15 23:14:40 | [Mutex] waiting for: [received:nodes:bbc2975f-c351-4cb7-84da-169f4540ac1d:localhost] 2022-05-15 23:14:40 | [Mutex] received everything. 2022-05-15 23:14:40 | [Mutex] isItemNotified: received:node:bbc2975f-c351-4cb7-84da-169f4540ac1d:localhost:node-38cfd263-b585-47b8-a4b3-673595541092:Node 38cfd263-b585-47b8-a4b3-673595541092 :: true 2022-05-15 23:14:40 | [Mutex] waiting for: [received:nodes:12d93cc7-b76a-460b-8106-1c5e50dd8ae4:localhost] 2022-05-15 23:14:40 | [Mutex] received everything. 2022-05-15 23:14:40 | [Mutex] isItemNotified: received:node:12d93cc7-b76a-460b-8106-1c5e50dd8ae4:localhost:node-38cfd263-b585-47b8-a4b3-673595541092:Node 38cfd263-b585-47b8-a4b3-673595541092 :: false |
createNodes | 1.461s |
2022-05-15 23:14:36 |
2022-05-15 23:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:36 | ------------------------------------ 2022-05-15 23:14:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-38cfd263-b585-47b8-a4b3-673595541092</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 38cfd263-b585-47b8-a4b3-673595541092</title></pubsub></data> 2022-05-15 23:14:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 23:14:37 | [Mutex] waiting for: [received:nodes:e8d1961b-39f0-47e9-a203-6be2ac5e458c:localhost] 2022-05-15 23:14:37 | [Mutex] waiting for: [received:nodes:e8d1961b-39f0-47e9-a203-6be2ac5e458c:localhost] 2022-05-15 23:14:37 | [Mutex] received everything. 2022-05-15 23:14:37 | [Mutex] isItemNotified: received:node:e8d1961b-39f0-47e9-a203-6be2ac5e458c:localhost:node-38cfd263-b585-47b8-a4b3-673595541092:Node 38cfd263-b585-47b8-a4b3-673595541092 :: true |
createSubnodes | 1.026s |
2022-05-15 23:14:37 |
2022-05-15 23:14:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:37 | ------------------------------------ 2022-05-15 23:14:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-afd43aca-0d4a-4ee0-9fba-667540670e63</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node afd43aca-0d4a-4ee0-9fba-667540670e63</title></pubsub></data> 2022-05-15 23:14:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 23:14:38 | [Mutex] waiting for: [received:nodes:bf3f1ed4-1834-4a76-bd51-9b640250f14d:localhost] 2022-05-15 23:14:38 | [Mutex] waiting for: [received:nodes:bf3f1ed4-1834-4a76-bd51-9b640250f14d:localhost] 2022-05-15 23:14:38 | [Mutex] received everything. 2022-05-15 23:14:38 | [Mutex] isItemNotified: received:node:bf3f1ed4-1834-4a76-bd51-9b640250f14d:localhost:node-afd43aca-0d4a-4ee0-9fba-667540670e63:Node afd43aca-0d4a-4ee0-9fba-667540670e63 :: true |
deleteNodes | 1.018s |
2022-05-15 23:14:44 |
2022-05-15 23:14:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:44 | ------------------------------------ 2022-05-15 23:14:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-afd43aca-0d4a-4ee0-9fba-667540670e63</node></data> 2022-05-15 23:14:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 23:14:45 | [Mutex] waiting for: [received:nodes:abbb5a82-d550-47d6-a821-270b6b43477b:localhost] 2022-05-15 23:14:45 | [Mutex] received everything. 2022-05-15 23:14:45 | [Mutex] isItemNotified: received:node:abbb5a82-d550-47d6-a821-270b6b43477b:localhost:node-afd43aca-0d4a-4ee0-9fba-667540670e63:Node afd43aca-0d4a-4ee0-9fba-667540670e63 :: false |
deleteSubnodes | 1.124s |
2022-05-15 23:14:43 |
2022-05-15 23:14:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:43 | ------------------------------------ 2022-05-15 23:14:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-38cfd263-b585-47b8-a4b3-673595541092</node></data> 2022-05-15 23:14:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 23:14:44 | [Mutex] waiting for: [received:nodes:45b869d2-a3dc-41fa-98fa-57e43d605745:localhost] 2022-05-15 23:14:44 | [Mutex] received everything. 2022-05-15 23:14:44 | [Mutex] isItemNotified: received:node:45b869d2-a3dc-41fa-98fa-57e43d605745:localhost:node-38cfd263-b585-47b8-a4b3-673595541092:Node 38cfd263-b585-47b8-a4b3-673595541092 :: false 2022-05-15 23:14:44 | [Mutex] waiting for: [received:nodes:fac7603f-e3a4-4949-8086-77afa78214f6:localhost] 2022-05-15 23:14:44 | [Mutex] received everything. 2022-05-15 23:14:44 | [Mutex] isItemNotified: received:node:fac7603f-e3a4-4949-8086-77afa78214f6:localhost:node-38cfd263-b585-47b8-a4b3-673595541092:Node 38cfd263-b585-47b8-a4b3-673595541092 :: false |
publishItemsToNodes | 0.240s |
2022-05-15 23:14:41 |
2022-05-15 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:41 | ------------------------------------ 2022-05-15 23:14:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-38cfd263-b585-47b8-a4b3-673595541092</node><item-id>item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</item-id><entry><test>item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</test></entry></data> 2022-05-15 23:14:41 | 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-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</value></item-id></result> 2022-05-15 23:14:41 | [Mutex] waiting for: [published:item:notifieditem-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53:admin@test-domain.com] 2022-05-15 23:14:41 | [Mutex] received everything. 2022-05-15 23:14:41 | [Mutex] isItemNotified: published:item:notifieditem-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53:admin@test-domain.com :: true |
retractItemsFromNodes | 0.202s |
2022-05-15 23:14:41 |
2022-05-15 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:41 | ------------------------------------ 2022-05-15 23:14:41 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-38cfd263-b585-47b8-a4b3-673595541092</node><item-id>item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</item-id></data> 2022-05-15 23:14:42 | 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-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</value></item-id></result> 2022-05-15 23:14:42 | [Mutex] waiting for: [retracted:item:notifieditem-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53:admin@test-domain.com] 2022-05-15 23:14:42 | [Mutex] received everything. 2022-05-15 23:14:42 | [Mutex] isItemNotified: retracted:item:notifieditem-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.296s |
2022-05-15 23:14:41 |
2022-05-15 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:41 | ------------------------------------ 2022-05-15 23:14:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-38cfd263-b585-47b8-a4b3-673595541092</node><item-id>item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</item-id></data> 2022-05-15 23:14:41 | 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-38cfd263-b585-47b8-a4b3-673595541092</value></node><item-id label="Item ID" type="text-single"><value>item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</value></item-id><item label="Item" type="text-multi"><value><item id="item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53"><test>item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53</test></item></value></item></result> 2022-05-15 23:14:41 | [Mutex] notify: [retrieved:item:item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53:payload-matches:true:localhost] 2022-05-15 23:14:41 | [Mutex] received everything. 2022-05-15 23:14:41 | [Mutex] isItemNotified: retrieved:item:item-3104a7bb-d81d-43e8-93e3-8bb0f34c0b53:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-05-15 23:14:41 |
2022-05-15 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:41 | ------------------------------------ 2022-05-15 23:14:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-15 23:14:41 | 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-afd43aca-0d4a-4ee0-9fba-667540670e63</value><value>node-38cfd263-b585-47b8-a4b3-673595541092</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-05-15 23:14:41 |
2022-05-15 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:41 | ------------------------------------ 2022-05-15 23:14:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-38cfd263-b585-47b8-a4b3-673595541092)</node-pattern></data> 2022-05-15 23:14:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.135s |
2022-05-15 23:14:40 |
2022-05-15 23:14:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:40 | ------------------------------------ 2022-05-15 23:14:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-38cfd263-b585-47b8-a4b3-673595541092</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-15 23:14:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.204s |
2022-05-15 23:14:42 |
2022-05-15 23:14:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 23:14:42 | ------------------------------------ 2022-05-15 23:14:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-38cfd263-b585-47b8-a4b3-673595541092</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-15 23:14:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |