Test duration : 10.214s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2020-09-15 22:46:58 |
2020-09-15 22:46:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:46:58 | ------------------------------------ 2020-09-15 22:46:58 | [Mutex] waiting for: [configured:node:node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565:node-bf803a1b-c1a1-463c-bb90-228615436c15] 2020-09-15 22:46:58 | [Mutex] received everything. 2020-09-15 22:46:58 | [Mutex] isItemNotified: configured:node:node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565:node-bf803a1b-c1a1-463c-bb90-228615436c15 :: true 2020-09-15 22:46:59 | [Mutex] waiting for: [received:nodes:b119570b-3aec-44b1-9921-233450d62857:localhost] 2020-09-15 22:46:59 | [Mutex] received everything. 2020-09-15 22:46:59 | [Mutex] isItemNotified: received:node:b119570b-3aec-44b1-9921-233450d62857:localhost:node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565:Node 2a63dde9-6d4f-4ff5-bb5f-d735d9f33565 :: true 2020-09-15 22:46:59 | [Mutex] waiting for: [received:nodes:48ca00ac-094e-49d4-b97a-529acd796bc3:localhost] 2020-09-15 22:46:59 | [Mutex] received everything. 2020-09-15 22:46:59 | [Mutex] isItemNotified: received:node:48ca00ac-094e-49d4-b97a-529acd796bc3:localhost:node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565:Node 2a63dde9-6d4f-4ff5-bb5f-d735d9f33565 :: false |
createNodes | 1.502s |
2020-09-15 22:46:55 |
2020-09-15 22:46:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:46:55 | ------------------------------------ 2020-09-15 22:46:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</title></pubsub></data> 2020-09-15 22:46:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-15 22:46:57 | [Mutex] waiting for: [received:nodes:8cf87302-c2cf-4199-8399-a5eb25751a96:localhost] 2020-09-15 22:46:57 | [Mutex] received everything. 2020-09-15 22:46:57 | [Mutex] isItemNotified: received:node:8cf87302-c2cf-4199-8399-a5eb25751a96:localhost:node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565:Node 2a63dde9-6d4f-4ff5-bb5f-d735d9f33565 :: true |
createSubnodes | 1.024s |
2020-09-15 22:46:57 |
2020-09-15 22:46:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:46:57 | ------------------------------------ 2020-09-15 22:46:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bf803a1b-c1a1-463c-bb90-228615436c15</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bf803a1b-c1a1-463c-bb90-228615436c15</title></pubsub></data> 2020-09-15 22:46:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-15 22:46:58 | [Mutex] waiting for: [received:nodes:6d5e525a-793a-4d76-ad72-211d3553e586:localhost] 2020-09-15 22:46:58 | [Mutex] received everything. 2020-09-15 22:46:58 | [Mutex] isItemNotified: received:node:6d5e525a-793a-4d76-ad72-211d3553e586:localhost:node-bf803a1b-c1a1-463c-bb90-228615436c15:Node bf803a1b-c1a1-463c-bb90-228615436c15 :: true |
deleteNodes | 1.022s |
2020-09-15 22:47:03 |
2020-09-15 22:47:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:03 | ------------------------------------ 2020-09-15 22:47:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bf803a1b-c1a1-463c-bb90-228615436c15</node></data> 2020-09-15 22:47:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-15 22:47:04 | [Mutex] waiting for: [received:nodes:97179d2d-95b4-4f5d-ba96-433dde05d666:localhost] 2020-09-15 22:47:04 | [Mutex] received everything. 2020-09-15 22:47:04 | [Mutex] isItemNotified: received:node:97179d2d-95b4-4f5d-ba96-433dde05d666:localhost:node-bf803a1b-c1a1-463c-bb90-228615436c15:Node bf803a1b-c1a1-463c-bb90-228615436c15 :: false |
deleteSubnodes | 1.132s |
2020-09-15 22:47:02 |
2020-09-15 22:47:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:02 | ------------------------------------ 2020-09-15 22:47:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</node></data> 2020-09-15 22:47:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-15 22:47:03 | [Mutex] waiting for: [received:nodes:edbe5f35-ca6f-4a35-91b0-f05ac55f7903:localhost] 2020-09-15 22:47:03 | [Mutex] received everything. 2020-09-15 22:47:03 | [Mutex] isItemNotified: received:node:edbe5f35-ca6f-4a35-91b0-f05ac55f7903:localhost:node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565:Node 2a63dde9-6d4f-4ff5-bb5f-d735d9f33565 :: false 2020-09-15 22:47:03 | [Mutex] waiting for: [received:nodes:8749f548-6fdd-4b56-aa0b-d0f18f9d20c7:localhost] 2020-09-15 22:47:03 | [Mutex] received everything. 2020-09-15 22:47:03 | [Mutex] isItemNotified: received:node:8749f548-6fdd-4b56-aa0b-d0f18f9d20c7:localhost:node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565:Node 2a63dde9-6d4f-4ff5-bb5f-d735d9f33565 :: false |
publishItemsToNodes | 0.332s |
2020-09-15 22:47:00 |
2020-09-15 22:47:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:00 | ------------------------------------ 2020-09-15 22:47:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</node><item-id>item-8196eaa6-9bde-40d5-9b1b-8d998a87256b</item-id><entry><test>item-8196eaa6-9bde-40d5-9b1b-8d998a87256b</test></entry></data> 2020-09-15 22:47:00 | 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-8196eaa6-9bde-40d5-9b1b-8d998a87256b</value></item-id></result> 2020-09-15 22:47:00 | [Mutex] waiting for: [published:item:notifieditem-8196eaa6-9bde-40d5-9b1b-8d998a87256b:admin@test-domain.com] 2020-09-15 22:47:00 | [Mutex] received everything. 2020-09-15 22:47:00 | [Mutex] isItemNotified: published:item:notifieditem-8196eaa6-9bde-40d5-9b1b-8d998a87256b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.323s |
2020-09-15 22:47:01 |
2020-09-15 22:47:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:01 | ------------------------------------ 2020-09-15 22:47:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</node><item-id>item-8196eaa6-9bde-40d5-9b1b-8d998a87256b</item-id></data> 2020-09-15 22:47:01 | 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-8196eaa6-9bde-40d5-9b1b-8d998a87256b</value></item-id></result> 2020-09-15 22:47:01 | [Mutex] received everything. 2020-09-15 22:47:01 | [Mutex] isItemNotified: retracted:item:notifieditem-8196eaa6-9bde-40d5-9b1b-8d998a87256b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.325s |
2020-09-15 22:47:00 |
2020-09-15 22:47:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:00 | ------------------------------------ 2020-09-15 22:47:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</node><item-id>item-8196eaa6-9bde-40d5-9b1b-8d998a87256b</item-id></data> 2020-09-15 22:47:01 | 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-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</value></node><item-id label="Item ID" type="text-single"><value>item-8196eaa6-9bde-40d5-9b1b-8d998a87256b</value></item-id><item label="Item" type="text-multi"><value><item id="item-8196eaa6-9bde-40d5-9b1b-8d998a87256b"><test>item-8196eaa6-9bde-40d5-9b1b-8d998a87256b</test></item></value></item></result> 2020-09-15 22:47:01 | [Mutex] notify: [retrieved:item:item-8196eaa6-9bde-40d5-9b1b-8d998a87256b:payload-matches:true:localhost] 2020-09-15 22:47:01 | [Mutex] received everything. 2020-09-15 22:47:01 | [Mutex] isItemNotified: retrieved:item:item-8196eaa6-9bde-40d5-9b1b-8d998a87256b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.071s |
2020-09-15 22:47:01 |
2020-09-15 22:47:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:01 | ------------------------------------ 2020-09-15 22:47:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-15 22:47:01 | 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-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</value><value>node-bf803a1b-c1a1-463c-bb90-228615436c15</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.056s |
2020-09-15 22:47:01 |
2020-09-15 22:47:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:01 | ------------------------------------ 2020-09-15 22:47:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565)</node-pattern></data> 2020-09-15 22:47:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.097s |
2020-09-15 22:46:59 |
2020-09-15 22:46:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:46:59 | ------------------------------------ 2020-09-15 22:46:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-15 22:46:59 | 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-15 22:47:01 |
2020-09-15 22:47:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-15 22:47:01 | ------------------------------------ 2020-09-15 22:47:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2a63dde9-6d4f-4ff5-bb5f-d735d9f33565</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-15 22:47:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |