Test duration : 9.628s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-07-12 23:00:27 |
2022-07-12 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:27 | ------------------------------------ 2022-07-12 23:00:27 | [Mutex] waiting for: [configured:node:node-fbe71179-124c-4ad3-ada5-3931e556952b:node-afe2bf77-0cc0-40cb-ba27-3fe513e019db] 2022-07-12 23:00:27 | [Mutex] received everything. 2022-07-12 23:00:27 | [Mutex] isItemNotified: configured:node:node-fbe71179-124c-4ad3-ada5-3931e556952b:node-afe2bf77-0cc0-40cb-ba27-3fe513e019db :: true 2022-07-12 23:00:28 | [Mutex] waiting for: [received:nodes:c7668412-cb5a-4081-845a-27dedaeeefa0:localhost] 2022-07-12 23:00:28 | [Mutex] received everything. 2022-07-12 23:00:28 | [Mutex] isItemNotified: received:node:c7668412-cb5a-4081-845a-27dedaeeefa0:localhost:node-fbe71179-124c-4ad3-ada5-3931e556952b:Node fbe71179-124c-4ad3-ada5-3931e556952b :: true 2022-07-12 23:00:28 | [Mutex] waiting for: [received:nodes:3872a9ea-2a3b-4078-9056-03c82f458bb0:localhost] 2022-07-12 23:00:28 | [Mutex] waiting for: [received:nodes:3872a9ea-2a3b-4078-9056-03c82f458bb0:localhost] 2022-07-12 23:00:28 | [Mutex] received everything. 2022-07-12 23:00:28 | [Mutex] isItemNotified: received:node:3872a9ea-2a3b-4078-9056-03c82f458bb0:localhost:node-fbe71179-124c-4ad3-ada5-3931e556952b:Node fbe71179-124c-4ad3-ada5-3931e556952b :: false |
createNodes | 1.435s |
2022-07-12 23:00:24 |
2022-07-12 23:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:24 | ------------------------------------ 2022-07-12 23:00:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fbe71179-124c-4ad3-ada5-3931e556952b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fbe71179-124c-4ad3-ada5-3931e556952b</title></pubsub></data> 2022-07-12 23:00:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:00:26 | [Mutex] waiting for: [received:nodes:9ae9e48f-726b-4b40-9af4-80c9e782b0cb:localhost] 2022-07-12 23:00:26 | [Mutex] received everything. 2022-07-12 23:00:26 | [Mutex] isItemNotified: received:node:9ae9e48f-726b-4b40-9af4-80c9e782b0cb:localhost:node-fbe71179-124c-4ad3-ada5-3931e556952b:Node fbe71179-124c-4ad3-ada5-3931e556952b :: true |
createSubnodes | 1.021s |
2022-07-12 23:00:26 |
2022-07-12 23:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:26 | ------------------------------------ 2022-07-12 23:00:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-afe2bf77-0cc0-40cb-ba27-3fe513e019db</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node afe2bf77-0cc0-40cb-ba27-3fe513e019db</title></pubsub></data> 2022-07-12 23:00:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:00:27 | [Mutex] waiting for: [received:nodes:d4fd5ce2-d55f-4e3a-a34c-bb6864c6dd8f:localhost] 2022-07-12 23:00:27 | [Mutex] received everything. 2022-07-12 23:00:27 | [Mutex] isItemNotified: received:node:d4fd5ce2-d55f-4e3a-a34c-bb6864c6dd8f:localhost:node-afe2bf77-0cc0-40cb-ba27-3fe513e019db:Node afe2bf77-0cc0-40cb-ba27-3fe513e019db :: true |
deleteNodes | 1.018s |
2022-07-12 23:00:32 |
2022-07-12 23:00:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:32 | ------------------------------------ 2022-07-12 23:00:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-afe2bf77-0cc0-40cb-ba27-3fe513e019db</node></data> 2022-07-12 23:00:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:00:33 | [Mutex] waiting for: [received:nodes:abb1fba8-cf02-4427-bde5-5e5aa99e469f:localhost] 2022-07-12 23:00:33 | [Mutex] waiting for: [received:nodes:abb1fba8-cf02-4427-bde5-5e5aa99e469f:localhost] 2022-07-12 23:00:33 | [Mutex] received everything. 2022-07-12 23:00:33 | [Mutex] isItemNotified: received:node:abb1fba8-cf02-4427-bde5-5e5aa99e469f:localhost:node-afe2bf77-0cc0-40cb-ba27-3fe513e019db:Node afe2bf77-0cc0-40cb-ba27-3fe513e019db :: false |
deleteSubnodes | 1.143s |
2022-07-12 23:00:31 |
2022-07-12 23:00:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:31 | ------------------------------------ 2022-07-12 23:00:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fbe71179-124c-4ad3-ada5-3931e556952b</node></data> 2022-07-12 23:00:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:00:32 | [Mutex] waiting for: [received:nodes:c6e9ed4c-d34b-4ffa-9586-335ab5ef3e0a:localhost] 2022-07-12 23:00:32 | [Mutex] waiting for: [received:nodes:c6e9ed4c-d34b-4ffa-9586-335ab5ef3e0a:localhost] 2022-07-12 23:00:32 | [Mutex] waiting for: [received:nodes:c6e9ed4c-d34b-4ffa-9586-335ab5ef3e0a:localhost] 2022-07-12 23:00:32 | [Mutex] received everything. 2022-07-12 23:00:32 | [Mutex] isItemNotified: received:node:c6e9ed4c-d34b-4ffa-9586-335ab5ef3e0a:localhost:node-fbe71179-124c-4ad3-ada5-3931e556952b:Node fbe71179-124c-4ad3-ada5-3931e556952b :: false 2022-07-12 23:00:32 | [Mutex] waiting for: [received:nodes:5de0dd63-d351-4a17-953a-00e238ba7491:localhost] 2022-07-12 23:00:32 | [Mutex] received everything. 2022-07-12 23:00:32 | [Mutex] isItemNotified: received:node:5de0dd63-d351-4a17-953a-00e238ba7491:localhost:node-fbe71179-124c-4ad3-ada5-3931e556952b:Node fbe71179-124c-4ad3-ada5-3931e556952b :: false |
publishItemsToNodes | 0.233s |
2022-07-12 23:00:29 |
2022-07-12 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:29 | ------------------------------------ 2022-07-12 23:00:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fbe71179-124c-4ad3-ada5-3931e556952b</node><item-id>item-8065ac34-4252-4fc4-a56c-5b8e405da835</item-id><entry><test>item-8065ac34-4252-4fc4-a56c-5b8e405da835</test></entry></data> 2022-07-12 23:00:29 | 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-8065ac34-4252-4fc4-a56c-5b8e405da835</value></item-id></result> 2022-07-12 23:00:29 | [Mutex] received everything. 2022-07-12 23:00:29 | [Mutex] isItemNotified: published:item:notifieditem-8065ac34-4252-4fc4-a56c-5b8e405da835:admin@test-domain.com :: true |
retractItemsFromNodes | 0.323s |
2022-07-12 23:00:30 |
2022-07-12 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:30 | ------------------------------------ 2022-07-12 23:00:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fbe71179-124c-4ad3-ada5-3931e556952b</node><item-id>item-8065ac34-4252-4fc4-a56c-5b8e405da835</item-id></data> 2022-07-12 23:00:30 | 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-8065ac34-4252-4fc4-a56c-5b8e405da835</value></item-id></result> 2022-07-12 23:00:30 | [Mutex] received everything. 2022-07-12 23:00:30 | [Mutex] isItemNotified: retracted:item:notifieditem-8065ac34-4252-4fc4-a56c-5b8e405da835:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.234s |
2022-07-12 23:00:29 |
2022-07-12 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:29 | ------------------------------------ 2022-07-12 23:00:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fbe71179-124c-4ad3-ada5-3931e556952b</node><item-id>item-8065ac34-4252-4fc4-a56c-5b8e405da835</item-id></data> 2022-07-12 23:00:30 | 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-fbe71179-124c-4ad3-ada5-3931e556952b</value></node><item-id type="text-single" label="Item ID"><value>item-8065ac34-4252-4fc4-a56c-5b8e405da835</value></item-id><item type="text-multi" label="Item"><value><item id="item-8065ac34-4252-4fc4-a56c-5b8e405da835"><test>item-8065ac34-4252-4fc4-a56c-5b8e405da835</test></item></value></item></result> 2022-07-12 23:00:30 | [Mutex] notify: [retrieved:item:item-8065ac34-4252-4fc4-a56c-5b8e405da835:payload-matches:true:localhost] 2022-07-12 23:00:30 | [Mutex] received everything. 2022-07-12 23:00:30 | [Mutex] isItemNotified: retrieved:item:item-8065ac34-4252-4fc4-a56c-5b8e405da835:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-12 23:00:30 |
2022-07-12 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:30 | ------------------------------------ 2022-07-12 23:00:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-12 23:00:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-fbe71179-124c-4ad3-ada5-3931e556952b</value><value>test</value><value>node-afe2bf77-0cc0-40cb-ba27-3fe513e019db</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-12 23:00:30 |
2022-07-12 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:30 | ------------------------------------ 2022-07-12 23:00:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fbe71179-124c-4ad3-ada5-3931e556952b)</node-pattern></data> 2022-07-12 23:00:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.155s |
2022-07-12 23:00:28 |
2022-07-12 23:00:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:28 | ------------------------------------ 2022-07-12 23:00:28 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fbe71179-124c-4ad3-ada5-3931e556952b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 23:00:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.251s |
2022-07-12 23:00:30 |
2022-07-12 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:00:30 | ------------------------------------ 2022-07-12 23:00:30 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fbe71179-124c-4ad3-ada5-3931e556952b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 23:00:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |