Test duration : 9.801s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.080s |
2020-09-16 22:46:05 |
2020-09-16 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:05 | ------------------------------------ 2020-09-16 22:46:05 | [Mutex] waiting for: [configured:node:node-43944953-7c95-40c3-8d7d-d7fd0582cbca:node-b8bbdfb5-d302-43ce-b393-01a8935838b4] 2020-09-16 22:46:05 | [Mutex] received everything. 2020-09-16 22:46:05 | [Mutex] isItemNotified: configured:node:node-43944953-7c95-40c3-8d7d-d7fd0582cbca:node-b8bbdfb5-d302-43ce-b393-01a8935838b4 :: true 2020-09-16 22:46:06 | [Mutex] waiting for: [received:nodes:586931ac-128b-4376-9378-f37ec1d8762d:localhost] 2020-09-16 22:46:06 | [Mutex] received everything. 2020-09-16 22:46:06 | [Mutex] isItemNotified: received:node:586931ac-128b-4376-9378-f37ec1d8762d:localhost:node-43944953-7c95-40c3-8d7d-d7fd0582cbca:Node 43944953-7c95-40c3-8d7d-d7fd0582cbca :: true 2020-09-16 22:46:06 | [Mutex] waiting for: [received:nodes:d6d4b18e-9fc6-414d-bad4-c77ca6673d84:localhost] 2020-09-16 22:46:06 | [Mutex] received everything. 2020-09-16 22:46:06 | [Mutex] isItemNotified: received:node:d6d4b18e-9fc6-414d-bad4-c77ca6673d84:localhost:node-43944953-7c95-40c3-8d7d-d7fd0582cbca:Node 43944953-7c95-40c3-8d7d-d7fd0582cbca :: false |
createNodes | 1.377s |
2020-09-16 22:46:03 |
2020-09-16 22:46:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:03 | ------------------------------------ 2020-09-16 22:46:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 43944953-7c95-40c3-8d7d-d7fd0582cbca</title></pubsub></data> 2020-09-16 22:46:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:46:04 | [Mutex] waiting for: [received:nodes:4c1ad3c2-d99c-4334-bf1d-5914ce843a88:localhost] 2020-09-16 22:46:04 | [Mutex] received everything. 2020-09-16 22:46:04 | [Mutex] isItemNotified: received:node:4c1ad3c2-d99c-4334-bf1d-5914ce843a88:localhost:node-43944953-7c95-40c3-8d7d-d7fd0582cbca:Node 43944953-7c95-40c3-8d7d-d7fd0582cbca :: true |
createSubnodes | 1.032s |
2020-09-16 22:46:04 |
2020-09-16 22:46:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:04 | ------------------------------------ 2020-09-16 22:46:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b8bbdfb5-d302-43ce-b393-01a8935838b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8bbdfb5-d302-43ce-b393-01a8935838b4</title></pubsub></data> 2020-09-16 22:46:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:46:05 | [Mutex] waiting for: [received:nodes:e723e6fc-d8e1-4fc4-9fd6-7caa4ee57c3b:localhost] 2020-09-16 22:46:05 | [Mutex] received everything. 2020-09-16 22:46:05 | [Mutex] isItemNotified: received:node:e723e6fc-d8e1-4fc4-9fd6-7caa4ee57c3b:localhost:node-b8bbdfb5-d302-43ce-b393-01a8935838b4:Node b8bbdfb5-d302-43ce-b393-01a8935838b4 :: true |
deleteNodes | 1.016s |
2020-09-16 22:46:11 |
2020-09-16 22:46:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:11 | ------------------------------------ 2020-09-16 22:46:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b8bbdfb5-d302-43ce-b393-01a8935838b4</node></data> 2020-09-16 22:46:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:46:12 | [Mutex] waiting for: [received:nodes:9dfd83e9-5c09-40f8-b747-13f0d96d8a94:localhost] 2020-09-16 22:46:12 | [Mutex] received everything. 2020-09-16 22:46:12 | [Mutex] isItemNotified: received:node:9dfd83e9-5c09-40f8-b747-13f0d96d8a94:localhost:node-b8bbdfb5-d302-43ce-b393-01a8935838b4:Node b8bbdfb5-d302-43ce-b393-01a8935838b4 :: false |
deleteSubnodes | 1.133s |
2020-09-16 22:46:09 |
2020-09-16 22:46:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:09 | ------------------------------------ 2020-09-16 22:46:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</node></data> 2020-09-16 22:46:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:46:10 | [Mutex] waiting for: [received:nodes:84cf2186-ea9b-42a1-b542-0e4f47966963:localhost] 2020-09-16 22:46:10 | [Mutex] received everything. 2020-09-16 22:46:10 | [Mutex] isItemNotified: received:node:84cf2186-ea9b-42a1-b542-0e4f47966963:localhost:node-43944953-7c95-40c3-8d7d-d7fd0582cbca:Node 43944953-7c95-40c3-8d7d-d7fd0582cbca :: false 2020-09-16 22:46:10 | [Mutex] waiting for: [received:nodes:243b263b-c234-41c9-be0f-b8e677c4d3a9:localhost] 2020-09-16 22:46:11 | [Mutex] received everything. 2020-09-16 22:46:11 | [Mutex] isItemNotified: received:node:243b263b-c234-41c9-be0f-b8e677c4d3a9:localhost:node-43944953-7c95-40c3-8d7d-d7fd0582cbca:Node 43944953-7c95-40c3-8d7d-d7fd0582cbca :: false |
publishItemsToNodes | 0.175s |
2020-09-16 22:46:07 |
2020-09-16 22:46:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:07 | ------------------------------------ 2020-09-16 22:46:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</node><item-id>item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</item-id><entry><test>item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</test></entry></data> 2020-09-16 22:46:07 | 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-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</value></item-id></result> 2020-09-16 22:46:07 | [Mutex] received everything. 2020-09-16 22:46:07 | [Mutex] isItemNotified: published:item:notifieditem-d13fa10a-df55-4e4d-8cbc-d2467f1cb877:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2020-09-16 22:46:08 |
2020-09-16 22:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:08 | ------------------------------------ 2020-09-16 22:46:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</node><item-id>item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</item-id></data> 2020-09-16 22:46:08 | 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-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</value></item-id></result> 2020-09-16 22:46:08 | [Mutex] received everything. 2020-09-16 22:46:08 | [Mutex] isItemNotified: retracted:item:notifieditem-d13fa10a-df55-4e4d-8cbc-d2467f1cb877:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.267s |
2020-09-16 22:46:07 |
2020-09-16 22:46:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:07 | ------------------------------------ 2020-09-16 22:46:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</node><item-id>item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</item-id></data> 2020-09-16 22:46:08 | 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-43944953-7c95-40c3-8d7d-d7fd0582cbca</value></node><item-id label="Item ID" type="text-single"><value>item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</value></item-id><item label="Item" type="text-multi"><value><item id="item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877"><test>item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877</test></item></value></item></result> 2020-09-16 22:46:08 | [Mutex] notify: [retrieved:item:item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877:payload-matches:true:localhost] 2020-09-16 22:46:08 | [Mutex] received everything. 2020-09-16 22:46:08 | [Mutex] isItemNotified: retrieved:item:item-d13fa10a-df55-4e4d-8cbc-d2467f1cb877:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2020-09-16 22:46:08 |
2020-09-16 22:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:08 | ------------------------------------ 2020-09-16 22:46:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-16 22:46:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-b8bbdfb5-d302-43ce-b393-01a8935838b4</value><value>test</value><value>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-16 22:46:08 |
2020-09-16 22:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:08 | ------------------------------------ 2020-09-16 22:46:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-43944953-7c95-40c3-8d7d-d7fd0582cbca)</node-pattern></data> 2020-09-16 22:46:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.104s |
2020-09-16 22:46:06 |
2020-09-16 22:46:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:06 | ------------------------------------ 2020-09-16 22:46:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-16 22:46:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.255s |
2020-09-16 22:46:08 |
2020-09-16 22:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:46:08 | ------------------------------------ 2020-09-16 22:46:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-43944953-7c95-40c3-8d7d-d7fd0582cbca</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-16 22:46:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |