Test duration : 10.369s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2022-02-10 21:47:21 |
2022-02-10 21:47:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:21 | ------------------------------------ 2022-02-10 21:47:21 | [Mutex] waiting for: [configured:node:node-40d78b86-a5e8-4a04-81e4-c26cf99e3723:node-790bddf2-f9f5-4c33-8856-8d3868be5431] 2022-02-10 21:47:22 | [Mutex] received everything. 2022-02-10 21:47:22 | [Mutex] isItemNotified: configured:node:node-40d78b86-a5e8-4a04-81e4-c26cf99e3723:node-790bddf2-f9f5-4c33-8856-8d3868be5431 :: true 2022-02-10 21:47:23 | [Mutex] waiting for: [received:nodes:581367af-6af1-4cdc-bbb5-e7d5d36b3f4e:localhost] 2022-02-10 21:47:23 | [Mutex] received everything. 2022-02-10 21:47:23 | [Mutex] isItemNotified: received:node:581367af-6af1-4cdc-bbb5-e7d5d36b3f4e:localhost:node-40d78b86-a5e8-4a04-81e4-c26cf99e3723:Node 40d78b86-a5e8-4a04-81e4-c26cf99e3723 :: true 2022-02-10 21:47:23 | [Mutex] waiting for: [received:nodes:e805be13-f7c1-418f-9f9f-5a0abfa8799a:localhost] 2022-02-10 21:47:23 | [Mutex] received everything. 2022-02-10 21:47:23 | [Mutex] isItemNotified: received:node:e805be13-f7c1-418f-9f9f-5a0abfa8799a:localhost:node-40d78b86-a5e8-4a04-81e4-c26cf99e3723:Node 40d78b86-a5e8-4a04-81e4-c26cf99e3723 :: false |
createNodes | 1.651s |
2022-02-10 21:47:19 |
2022-02-10 21:47:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:19 | ------------------------------------ 2022-02-10 21:47:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 40d78b86-a5e8-4a04-81e4-c26cf99e3723</title></pubsub></data> 2022-02-10 21:47:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:47:20 | [Mutex] waiting for: [received:nodes:cae4fb5a-030a-4635-9c06-90299f26d541:localhost] 2022-02-10 21:47:20 | [Mutex] waiting for: [received:nodes:cae4fb5a-030a-4635-9c06-90299f26d541:localhost] 2022-02-10 21:47:20 | [Mutex] waiting for: [received:nodes:cae4fb5a-030a-4635-9c06-90299f26d541:localhost] 2022-02-10 21:47:20 | [Mutex] received everything. 2022-02-10 21:47:20 | [Mutex] isItemNotified: received:node:cae4fb5a-030a-4635-9c06-90299f26d541:localhost:node-40d78b86-a5e8-4a04-81e4-c26cf99e3723:Node 40d78b86-a5e8-4a04-81e4-c26cf99e3723 :: true |
createSubnodes | 1.032s |
2022-02-10 21:47:20 |
2022-02-10 21:47:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:20 | ------------------------------------ 2022-02-10 21:47:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-790bddf2-f9f5-4c33-8856-8d3868be5431</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 790bddf2-f9f5-4c33-8856-8d3868be5431</title></pubsub></data> 2022-02-10 21:47:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:47:21 | [Mutex] waiting for: [received:nodes:f459b996-5693-4279-a0a4-276ecbffd1a6:localhost] 2022-02-10 21:47:21 | [Mutex] waiting for: [received:nodes:f459b996-5693-4279-a0a4-276ecbffd1a6:localhost] 2022-02-10 21:47:21 | [Mutex] received everything. 2022-02-10 21:47:21 | [Mutex] isItemNotified: received:node:f459b996-5693-4279-a0a4-276ecbffd1a6:localhost:node-790bddf2-f9f5-4c33-8856-8d3868be5431:Node 790bddf2-f9f5-4c33-8856-8d3868be5431 :: true |
deleteNodes | 1.021s |
2022-02-10 21:47:27 |
2022-02-10 21:47:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:27 | ------------------------------------ 2022-02-10 21:47:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-790bddf2-f9f5-4c33-8856-8d3868be5431</node></data> 2022-02-10 21:47:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:47:28 | [Mutex] waiting for: [received:nodes:41229d13-36d2-4e02-9772-a8f750b3b9f9:localhost] 2022-02-10 21:47:28 | [Mutex] received everything. 2022-02-10 21:47:28 | [Mutex] isItemNotified: received:node:41229d13-36d2-4e02-9772-a8f750b3b9f9:localhost:node-790bddf2-f9f5-4c33-8856-8d3868be5431:Node 790bddf2-f9f5-4c33-8856-8d3868be5431 :: false |
deleteSubnodes | 1.163s |
2022-02-10 21:47:26 |
2022-02-10 21:47:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:26 | ------------------------------------ 2022-02-10 21:47:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</node></data> 2022-02-10 21:47:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:47:27 | [Mutex] waiting for: [received:nodes:17e2998d-0f20-49c9-9bcd-34b0a046ee5d:localhost] 2022-02-10 21:47:27 | [Mutex] waiting for: [received:nodes:17e2998d-0f20-49c9-9bcd-34b0a046ee5d:localhost] 2022-02-10 21:47:27 | [Mutex] waiting for: [received:nodes:17e2998d-0f20-49c9-9bcd-34b0a046ee5d:localhost] 2022-02-10 21:47:27 | [Mutex] waiting for: [received:nodes:17e2998d-0f20-49c9-9bcd-34b0a046ee5d:localhost] 2022-02-10 21:47:27 | [Mutex] received everything. 2022-02-10 21:47:27 | [Mutex] isItemNotified: received:node:17e2998d-0f20-49c9-9bcd-34b0a046ee5d:localhost:node-40d78b86-a5e8-4a04-81e4-c26cf99e3723:Node 40d78b86-a5e8-4a04-81e4-c26cf99e3723 :: false 2022-02-10 21:47:27 | [Mutex] waiting for: [received:nodes:fc19bb26-f07d-447f-b746-2b611c325114:localhost] 2022-02-10 21:47:27 | [Mutex] received everything. 2022-02-10 21:47:27 | [Mutex] isItemNotified: received:node:fc19bb26-f07d-447f-b746-2b611c325114:localhost:node-40d78b86-a5e8-4a04-81e4-c26cf99e3723:Node 40d78b86-a5e8-4a04-81e4-c26cf99e3723 :: false |
publishItemsToNodes | 0.238s |
2022-02-10 21:47:24 |
2022-02-10 21:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:24 | ------------------------------------ 2022-02-10 21:47:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</node><item-id>item-e14164a4-df93-4073-ada1-a152a4b3e90a</item-id><entry><test>item-e14164a4-df93-4073-ada1-a152a4b3e90a</test></entry></data> 2022-02-10 21:47:24 | 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-e14164a4-df93-4073-ada1-a152a4b3e90a</value></item-id></result> 2022-02-10 21:47:24 | [Mutex] waiting for: [published:item:notifieditem-e14164a4-df93-4073-ada1-a152a4b3e90a:admin@test-domain.com] 2022-02-10 21:47:24 | [Mutex] received everything. 2022-02-10 21:47:24 | [Mutex] isItemNotified: published:item:notifieditem-e14164a4-df93-4073-ada1-a152a4b3e90a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.312s |
2022-02-10 21:47:24 |
2022-02-10 21:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:24 | ------------------------------------ 2022-02-10 21:47:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</node><item-id>item-e14164a4-df93-4073-ada1-a152a4b3e90a</item-id></data> 2022-02-10 21:47:25 | 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-e14164a4-df93-4073-ada1-a152a4b3e90a</value></item-id></result> 2022-02-10 21:47:25 | [Mutex] waiting for: [retracted:item:notifieditem-e14164a4-df93-4073-ada1-a152a4b3e90a:admin@test-domain.com] 2022-02-10 21:47:25 | [Mutex] received everything. 2022-02-10 21:47:25 | [Mutex] isItemNotified: retracted:item:notifieditem-e14164a4-df93-4073-ada1-a152a4b3e90a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.331s |
2022-02-10 21:47:24 |
2022-02-10 21:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:24 | ------------------------------------ 2022-02-10 21:47:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</node><item-id>item-e14164a4-df93-4073-ada1-a152a4b3e90a</item-id></data> 2022-02-10 21:47:24 | 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-40d78b86-a5e8-4a04-81e4-c26cf99e3723</value></node><item-id type="text-single" label="Item ID"><value>item-e14164a4-df93-4073-ada1-a152a4b3e90a</value></item-id><item type="text-multi" label="Item"><value><item id="item-e14164a4-df93-4073-ada1-a152a4b3e90a"><test>item-e14164a4-df93-4073-ada1-a152a4b3e90a</test></item></value></item></result> 2022-02-10 21:47:24 | [Mutex] notify: [retrieved:item:item-e14164a4-df93-4073-ada1-a152a4b3e90a:payload-matches:true:localhost] 2022-02-10 21:47:24 | [Mutex] received everything. 2022-02-10 21:47:24 | [Mutex] isItemNotified: retrieved:item:item-e14164a4-df93-4073-ada1-a152a4b3e90a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-10 21:47:24 |
2022-02-10 21:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:24 | ------------------------------------ 2022-02-10 21:47:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-10 21:47:24 | 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-790bddf2-f9f5-4c33-8856-8d3868be5431</value><value>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-10 21:47:24 |
2022-02-10 21:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:24 | ------------------------------------ 2022-02-10 21:47:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-40d78b86-a5e8-4a04-81e4-c26cf99e3723)</node-pattern></data> 2022-02-10 21:47:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.179s |
2022-02-10 21:47:23 |
2022-02-10 21:47:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:23 | ------------------------------------ 2022-02-10 21:47:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-10 21:47:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.290s |
2022-02-10 21:47:25 |
2022-02-10 21:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:47:25 | ------------------------------------ 2022-02-10 21:47:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-40d78b86-a5e8-4a04-81e4-c26cf99e3723</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-10 21:47:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |