Test duration: 10.359s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2019-11-22 20:13:02 |
2019-11-22 20:13:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:02 | ------------------------------------ 2019-11-22 20:13:02 | [Mutex] waiting for: [configured:node:node-f2643d92-23c9-4981-8dde-857020f945f7:node-6d5d4641-7058-432a-85b3-d16918af41d9] 2019-11-22 20:13:02 | [Mutex] received everything. 2019-11-22 20:13:02 | [Mutex] isItemNotified: configured:node:node-f2643d92-23c9-4981-8dde-857020f945f7:node-6d5d4641-7058-432a-85b3-d16918af41d9 :: true 2019-11-22 20:13:03 | [Mutex] waiting for: [received:nodes:e58acbe3-3079-4b2a-af5e-4f9db33d6806:localhost] 2019-11-22 20:13:03 | [Mutex] received everything. 2019-11-22 20:13:03 | [Mutex] isItemNotified: received:node:e58acbe3-3079-4b2a-af5e-4f9db33d6806:localhost:node-f2643d92-23c9-4981-8dde-857020f945f7:Node f2643d92-23c9-4981-8dde-857020f945f7 :: true 2019-11-22 20:13:03 | [Mutex] waiting for: [received:nodes:f0f38c4f-e013-485a-9f04-6336bfca35ce:localhost] 2019-11-22 20:13:03 | [Mutex] received everything. 2019-11-22 20:13:03 | [Mutex] isItemNotified: received:node:f0f38c4f-e013-485a-9f04-6336bfca35ce:localhost:node-f2643d92-23c9-4981-8dde-857020f945f7:Node f2643d92-23c9-4981-8dde-857020f945f7 :: false |
createNodes | 1.576s |
2019-11-22 20:13:00 |
2019-11-22 20:13:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:00 | ------------------------------------ 2019-11-22 20:13:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f2643d92-23c9-4981-8dde-857020f945f7</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f2643d92-23c9-4981-8dde-857020f945f7</title></pubsub></data> 2019-11-22 20:13:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:13:01 | [Mutex] waiting for: [received:nodes:d73c8e72-6cc2-4e52-bc53-db776c443904:localhost] 2019-11-22 20:13:01 | [Mutex] received everything. 2019-11-22 20:13:01 | [Mutex] isItemNotified: received:node:d73c8e72-6cc2-4e52-bc53-db776c443904:localhost:node-f2643d92-23c9-4981-8dde-857020f945f7:Node f2643d92-23c9-4981-8dde-857020f945f7 :: true |
createSubnodes | 1.038s |
2019-11-22 20:13:01 |
2019-11-22 20:13:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:01 | ------------------------------------ 2019-11-22 20:13:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6d5d4641-7058-432a-85b3-d16918af41d9</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6d5d4641-7058-432a-85b3-d16918af41d9</title></pubsub></data> 2019-11-22 20:13:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:13:02 | [Mutex] waiting for: [received:nodes:9da5f460-097f-4511-9fd6-125848df3131:localhost] 2019-11-22 20:13:02 | [Mutex] received everything. 2019-11-22 20:13:02 | [Mutex] isItemNotified: received:node:9da5f460-097f-4511-9fd6-125848df3131:localhost:node-6d5d4641-7058-432a-85b3-d16918af41d9:Node 6d5d4641-7058-432a-85b3-d16918af41d9 :: true |
deleteNodes | 1.026s |
2019-11-22 20:13:08 |
2019-11-22 20:13:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:08 | ------------------------------------ 2019-11-22 20:13:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6d5d4641-7058-432a-85b3-d16918af41d9</node></data> 2019-11-22 20:13:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:13:09 | [Mutex] waiting for: [received:nodes:9d8aaa94-cf5c-44b8-90f2-3a7f083c9493:localhost] 2019-11-22 20:13:09 | [Mutex] received everything. 2019-11-22 20:13:09 | [Mutex] isItemNotified: received:node:9d8aaa94-cf5c-44b8-90f2-3a7f083c9493:localhost:node-6d5d4641-7058-432a-85b3-d16918af41d9:Node 6d5d4641-7058-432a-85b3-d16918af41d9 :: false |
deleteSubnodes | 1.225s |
2019-11-22 20:13:07 |
2019-11-22 20:13:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:07 | ------------------------------------ 2019-11-22 20:13:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f2643d92-23c9-4981-8dde-857020f945f7</node></data> 2019-11-22 20:13:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:13:08 | [Mutex] waiting for: [received:nodes:18f11319-66e7-4d30-b2c2-f71f86993aee:localhost] 2019-11-22 20:13:08 | [Mutex] received everything. 2019-11-22 20:13:08 | [Mutex] isItemNotified: received:node:18f11319-66e7-4d30-b2c2-f71f86993aee:localhost:node-f2643d92-23c9-4981-8dde-857020f945f7:Node f2643d92-23c9-4981-8dde-857020f945f7 :: false 2019-11-22 20:13:08 | [Mutex] waiting for: [received:nodes:d2740796-680a-4f08-bd10-0faa9af2706f:localhost] 2019-11-22 20:13:08 | [Mutex] received everything. 2019-11-22 20:13:08 | [Mutex] isItemNotified: received:node:d2740796-680a-4f08-bd10-0faa9af2706f:localhost:node-f2643d92-23c9-4981-8dde-857020f945f7:Node f2643d92-23c9-4981-8dde-857020f945f7 :: false |
publishItemsToNodes | 0.236s |
2019-11-22 20:13:04 |
2019-11-22 20:13:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:04 | ------------------------------------ 2019-11-22 20:13:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f2643d92-23c9-4981-8dde-857020f945f7</node><item-id>item-7577bbeb-a487-4540-957a-40bae6ae55f5</item-id><entry><test>item-7577bbeb-a487-4540-957a-40bae6ae55f5</test></entry></data> 2019-11-22 20:13:05 | 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-7577bbeb-a487-4540-957a-40bae6ae55f5</value></item-id></result> 2019-11-22 20:13:05 | [Mutex] waiting for: [published:item:notifieditem-7577bbeb-a487-4540-957a-40bae6ae55f5:admin@localhost] 2019-11-22 20:13:05 | [Mutex] received everything. 2019-11-22 20:13:05 | [Mutex] isItemNotified: published:item:notifieditem-7577bbeb-a487-4540-957a-40bae6ae55f5:admin@localhost :: true |
retractItemsFromNodes | 0.370s |
2019-11-22 20:13:05 |
2019-11-22 20:13:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:05 | ------------------------------------ 2019-11-22 20:13:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f2643d92-23c9-4981-8dde-857020f945f7</node><item-id>item-7577bbeb-a487-4540-957a-40bae6ae55f5</item-id></data> 2019-11-22 20:13:06 | 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-7577bbeb-a487-4540-957a-40bae6ae55f5</value></item-id></result> 2019-11-22 20:13:06 | [Mutex] waiting for: [retracted:item:notifieditem-7577bbeb-a487-4540-957a-40bae6ae55f5:admin@localhost] 2019-11-22 20:13:06 | [Mutex] received everything. 2019-11-22 20:13:06 | [Mutex] isItemNotified: retracted:item:notifieditem-7577bbeb-a487-4540-957a-40bae6ae55f5:admin@localhost :: true |
retrieveItemsFromNodes | 0.293s |
2019-11-22 20:13:05 |
2019-11-22 20:13:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:05 | ------------------------------------ 2019-11-22 20:13:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f2643d92-23c9-4981-8dde-857020f945f7</node><item-id>item-7577bbeb-a487-4540-957a-40bae6ae55f5</item-id></data> 2019-11-22 20:13:05 | 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-f2643d92-23c9-4981-8dde-857020f945f7</value></node><item-id type="text-single" label="Item ID"><value>item-7577bbeb-a487-4540-957a-40bae6ae55f5</value></item-id><item type="text-multi" label="Item"><value><item id="item-7577bbeb-a487-4540-957a-40bae6ae55f5"><test>item-7577bbeb-a487-4540-957a-40bae6ae55f5</test></item></value></item></result> 2019-11-22 20:13:05 | [Mutex] notify: [retrieved:item:item-7577bbeb-a487-4540-957a-40bae6ae55f5:payload-matches:true:localhost] 2019-11-22 20:13:05 | [Mutex] received everything. 2019-11-22 20:13:05 | [Mutex] isItemNotified: retrieved:item:item-7577bbeb-a487-4540-957a-40bae6ae55f5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.360s |
2019-11-22 20:13:05 |
2019-11-22 20:13:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:05 | ------------------------------------ 2019-11-22 20:13:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-22 20:13:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-6d5d4641-7058-432a-85b3-d16918af41d9</value><value>node-f2643d92-23c9-4981-8dde-857020f945f7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.061s |
2019-11-22 20:13:05 |
2019-11-22 20:13:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:05 | ------------------------------------ 2019-11-22 20:13:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-f2643d92-23c9-4981-8dde-857020f945f7)</node-pattern></data> 2019-11-22 20:13:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.160s |
2019-11-22 20:13:03 |
2019-11-22 20:13:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:03 | ------------------------------------ 2019-11-22 20:13:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f2643d92-23c9-4981-8dde-857020f945f7</node><jids><value>admin@localhost</value></jids></data> 2019-11-22 20:13:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.218s |
2019-11-22 20:13:06 |
2019-11-22 20:13:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:13:06 | ------------------------------------ 2019-11-22 20:13:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f2643d92-23c9-4981-8dde-857020f945f7</node><jids><value>admin@localhost</value></jids></data> 2019-11-22 20:13:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |