Test duration: 10.155s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2020-06-01 22:33:04 |
2020-06-01 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:04 | ------------------------------------ 2020-06-01 22:33:04 | [Mutex] waiting for: [configured:node:node-72ef72c9-0c7a-4825-a44c-9bee977a26b6:node-2e4bc9b0-a446-48bd-ae75-120cecca558b] 2020-06-01 22:33:04 | [Mutex] received everything. 2020-06-01 22:33:04 | [Mutex] isItemNotified: configured:node:node-72ef72c9-0c7a-4825-a44c-9bee977a26b6:node-2e4bc9b0-a446-48bd-ae75-120cecca558b :: true 2020-06-01 22:33:05 | [Mutex] waiting for: [received:nodes:f6cc2204-c879-4422-abde-89757cbbbabb:localhost] 2020-06-01 22:33:05 | [Mutex] received everything. 2020-06-01 22:33:05 | [Mutex] isItemNotified: received:node:f6cc2204-c879-4422-abde-89757cbbbabb:localhost:node-72ef72c9-0c7a-4825-a44c-9bee977a26b6:Node 72ef72c9-0c7a-4825-a44c-9bee977a26b6 :: true 2020-06-01 22:33:05 | [Mutex] waiting for: [received:nodes:1d96be2a-357b-45ed-87cf-82461cd68f21:localhost] 2020-06-01 22:33:05 | [Mutex] waiting for: [received:nodes:1d96be2a-357b-45ed-87cf-82461cd68f21:localhost] 2020-06-01 22:33:05 | [Mutex] received everything. 2020-06-01 22:33:05 | [Mutex] isItemNotified: received:node:1d96be2a-357b-45ed-87cf-82461cd68f21:localhost:node-72ef72c9-0c7a-4825-a44c-9bee977a26b6:Node 72ef72c9-0c7a-4825-a44c-9bee977a26b6 :: false |
createNodes | 1.653s |
2020-06-01 22:33:01 |
2020-06-01 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:01 | ------------------------------------ 2020-06-01 22:33:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 72ef72c9-0c7a-4825-a44c-9bee977a26b6</title></pubsub></data> 2020-06-01 22:33:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-01 22:33:03 | [Mutex] waiting for: [received:nodes:97005aab-a0e7-42db-9eb6-bc2a37511bbf:localhost] 2020-06-01 22:33:03 | [Mutex] received everything. 2020-06-01 22:33:03 | [Mutex] isItemNotified: received:node:97005aab-a0e7-42db-9eb6-bc2a37511bbf:localhost:node-72ef72c9-0c7a-4825-a44c-9bee977a26b6:Node 72ef72c9-0c7a-4825-a44c-9bee977a26b6 :: true |
createSubnodes | 1.019s |
2020-06-01 22:33:03 |
2020-06-01 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:03 | ------------------------------------ 2020-06-01 22:33:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2e4bc9b0-a446-48bd-ae75-120cecca558b</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2e4bc9b0-a446-48bd-ae75-120cecca558b</title></pubsub></data> 2020-06-01 22:33:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-01 22:33:04 | [Mutex] waiting for: [received:nodes:1e3651bb-0497-4b00-a13a-4d2141f024ad:localhost] 2020-06-01 22:33:04 | [Mutex] waiting for: [received:nodes:1e3651bb-0497-4b00-a13a-4d2141f024ad:localhost] 2020-06-01 22:33:04 | [Mutex] received everything. 2020-06-01 22:33:04 | [Mutex] isItemNotified: received:node:1e3651bb-0497-4b00-a13a-4d2141f024ad:localhost:node-2e4bc9b0-a446-48bd-ae75-120cecca558b:Node 2e4bc9b0-a446-48bd-ae75-120cecca558b :: true |
deleteNodes | 1.021s |
2020-06-01 22:33:10 |
2020-06-01 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:10 | ------------------------------------ 2020-06-01 22:33:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2e4bc9b0-a446-48bd-ae75-120cecca558b</node></data> 2020-06-01 22:33:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-01 22:33:11 | [Mutex] waiting for: [received:nodes:1024ddda-c791-4347-b08d-c2092a5d7522:localhost] 2020-06-01 22:33:11 | [Mutex] received everything. 2020-06-01 22:33:11 | [Mutex] isItemNotified: received:node:1024ddda-c791-4347-b08d-c2092a5d7522:localhost:node-2e4bc9b0-a446-48bd-ae75-120cecca558b:Node 2e4bc9b0-a446-48bd-ae75-120cecca558b :: false |
deleteSubnodes | 1.162s |
2020-06-01 22:33:08 |
2020-06-01 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:08 | ------------------------------------ 2020-06-01 22:33:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</node></data> 2020-06-01 22:33:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-01 22:33:10 | [Mutex] waiting for: [received:nodes:f9e33038-20b9-4a03-9c26-e3e88c0a7821:localhost] 2020-06-01 22:33:10 | [Mutex] received everything. 2020-06-01 22:33:10 | [Mutex] isItemNotified: received:node:f9e33038-20b9-4a03-9c26-e3e88c0a7821:localhost:node-72ef72c9-0c7a-4825-a44c-9bee977a26b6:Node 72ef72c9-0c7a-4825-a44c-9bee977a26b6 :: false 2020-06-01 22:33:10 | [Mutex] waiting for: [received:nodes:24338ed7-680e-478b-8764-db36f55d7092:localhost] 2020-06-01 22:33:10 | [Mutex] received everything. 2020-06-01 22:33:10 | [Mutex] isItemNotified: received:node:24338ed7-680e-478b-8764-db36f55d7092:localhost:node-72ef72c9-0c7a-4825-a44c-9bee977a26b6:Node 72ef72c9-0c7a-4825-a44c-9bee977a26b6 :: false |
publishItemsToNodes | 0.179s |
2020-06-01 22:33:06 |
2020-06-01 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:06 | ------------------------------------ 2020-06-01 22:33:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</node><item-id>item-31238dc6-b229-400c-b099-c2c8950b5570</item-id><entry><test>item-31238dc6-b229-400c-b099-c2c8950b5570</test></entry></data> 2020-06-01 22:33:06 | 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-31238dc6-b229-400c-b099-c2c8950b5570</value></item-id></result> 2020-06-01 22:33:06 | [Mutex] waiting for: [published:item:notifieditem-31238dc6-b229-400c-b099-c2c8950b5570:admin@localhost] 2020-06-01 22:33:07 | [Mutex] received everything. 2020-06-01 22:33:07 | [Mutex] isItemNotified: published:item:notifieditem-31238dc6-b229-400c-b099-c2c8950b5570:admin@localhost :: true |
retractItemsFromNodes | 0.227s |
2020-06-01 22:33:07 |
2020-06-01 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:07 | ------------------------------------ 2020-06-01 22:33:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</node><item-id>item-31238dc6-b229-400c-b099-c2c8950b5570</item-id></data> 2020-06-01 22:33:07 | 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-31238dc6-b229-400c-b099-c2c8950b5570</value></item-id></result> 2020-06-01 22:33:07 | [Mutex] received everything. 2020-06-01 22:33:07 | [Mutex] isItemNotified: retracted:item:notifieditem-31238dc6-b229-400c-b099-c2c8950b5570:admin@localhost :: true |
retrieveItemsFromNodes | 0.242s |
2020-06-01 22:33:07 |
2020-06-01 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:07 | ------------------------------------ 2020-06-01 22:33:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</node><item-id>item-31238dc6-b229-400c-b099-c2c8950b5570</item-id></data> 2020-06-01 22:33:07 | 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-72ef72c9-0c7a-4825-a44c-9bee977a26b6</value></node><item-id type="text-single" label="Item ID"><value>item-31238dc6-b229-400c-b099-c2c8950b5570</value></item-id><item type="text-multi" label="Item"><value><item id="item-31238dc6-b229-400c-b099-c2c8950b5570"><test>item-31238dc6-b229-400c-b099-c2c8950b5570</test></item></value></item></result> 2020-06-01 22:33:07 | [Mutex] notify: [retrieved:item:item-31238dc6-b229-400c-b099-c2c8950b5570:payload-matches:true:localhost] 2020-06-01 22:33:07 | [Mutex] received everything. 2020-06-01 22:33:07 | [Mutex] isItemNotified: retrieved:item:item-31238dc6-b229-400c-b099-c2c8950b5570:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.196s |
2020-06-01 22:33:07 |
2020-06-01 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:07 | ------------------------------------ 2020-06-01 22:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-06-01 22:33:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</value><value>node-2e4bc9b0-a446-48bd-ae75-120cecca558b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-06-01 22:33:07 |
2020-06-01 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:07 | ------------------------------------ 2020-06-01 22:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-72ef72c9-0c7a-4825-a44c-9bee977a26b6)</node-pattern></data> 2020-06-01 22:33:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.160s |
2020-06-01 22:33:05 |
2020-06-01 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:05 | ------------------------------------ 2020-06-01 22:33:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</node><jids><value>admin@localhost</value></jids></data> 2020-06-01 22:33:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.220s |
2020-06-01 22:33:07 |
2020-06-01 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-01 22:33:07 | ------------------------------------ 2020-06-01 22:33:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-72ef72c9-0c7a-4825-a44c-9bee977a26b6</node><jids><value>admin@localhost</value></jids></data> 2020-06-01 22:33:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |