Test duration : 10.041s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-02-01 22:26:49 |
2022-02-01 22:26:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:49 | ------------------------------------ 2022-02-01 22:26:49 | [Mutex] waiting for: [configured:node:node-22e92d39-9959-4941-b109-0d5b7528dab7:node-9abf639e-ecd2-44ae-9e85-d9b3f29ab788] 2022-02-01 22:26:50 | [Mutex] received everything. 2022-02-01 22:26:50 | [Mutex] isItemNotified: configured:node:node-22e92d39-9959-4941-b109-0d5b7528dab7:node-9abf639e-ecd2-44ae-9e85-d9b3f29ab788 :: true 2022-02-01 22:26:51 | [Mutex] waiting for: [received:nodes:61fcdf2a-0221-43dc-899a-a7c70c48b098:localhost] 2022-02-01 22:26:51 | [Mutex] received everything. 2022-02-01 22:26:51 | [Mutex] isItemNotified: received:node:61fcdf2a-0221-43dc-899a-a7c70c48b098:localhost:node-22e92d39-9959-4941-b109-0d5b7528dab7:Node 22e92d39-9959-4941-b109-0d5b7528dab7 :: true 2022-02-01 22:26:51 | [Mutex] waiting for: [received:nodes:c5bfc3bf-4eec-4d48-8d87-75aba1039897:localhost] 2022-02-01 22:26:51 | [Mutex] waiting for: [received:nodes:c5bfc3bf-4eec-4d48-8d87-75aba1039897:localhost] 2022-02-01 22:26:51 | [Mutex] received everything. 2022-02-01 22:26:51 | [Mutex] isItemNotified: received:node:c5bfc3bf-4eec-4d48-8d87-75aba1039897:localhost:node-22e92d39-9959-4941-b109-0d5b7528dab7:Node 22e92d39-9959-4941-b109-0d5b7528dab7 :: false |
createNodes | 1.483s |
2022-02-01 22:26:47 |
2022-02-01 22:26:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:47 | ------------------------------------ 2022-02-01 22:26:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-22e92d39-9959-4941-b109-0d5b7528dab7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 22e92d39-9959-4941-b109-0d5b7528dab7</title></pubsub></data> 2022-02-01 22:26:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:26:48 | [Mutex] waiting for: [received:nodes:1ad641c4-1f04-4e82-ad4c-0b7bdd65eed1:localhost] 2022-02-01 22:26:48 | [Mutex] received everything. 2022-02-01 22:26:48 | [Mutex] isItemNotified: received:node:1ad641c4-1f04-4e82-ad4c-0b7bdd65eed1:localhost:node-22e92d39-9959-4941-b109-0d5b7528dab7:Node 22e92d39-9959-4941-b109-0d5b7528dab7 :: true |
createSubnodes | 1.026s |
2022-02-01 22:26:48 |
2022-02-01 22:26:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:48 | ------------------------------------ 2022-02-01 22:26:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9abf639e-ecd2-44ae-9e85-d9b3f29ab788</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9abf639e-ecd2-44ae-9e85-d9b3f29ab788</title></pubsub></data> 2022-02-01 22:26:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:26:49 | [Mutex] waiting for: [received:nodes:54e5c5ac-3a9d-443c-aab0-c47a5a187ebd:localhost] 2022-02-01 22:26:49 | [Mutex] received everything. 2022-02-01 22:26:49 | [Mutex] isItemNotified: received:node:54e5c5ac-3a9d-443c-aab0-c47a5a187ebd:localhost:node-9abf639e-ecd2-44ae-9e85-d9b3f29ab788:Node 9abf639e-ecd2-44ae-9e85-d9b3f29ab788 :: true |
deleteNodes | 1.022s |
2022-02-01 22:26:55 |
2022-02-01 22:26:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:55 | ------------------------------------ 2022-02-01 22:26:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9abf639e-ecd2-44ae-9e85-d9b3f29ab788</node></data> 2022-02-01 22:26:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:26:56 | [Mutex] waiting for: [received:nodes:86c7812c-e4f1-4c18-bd60-4844e2a5222e:localhost] 2022-02-01 22:26:56 | [Mutex] received everything. 2022-02-01 22:26:56 | [Mutex] isItemNotified: received:node:86c7812c-e4f1-4c18-bd60-4844e2a5222e:localhost:node-9abf639e-ecd2-44ae-9e85-d9b3f29ab788:Node 9abf639e-ecd2-44ae-9e85-d9b3f29ab788 :: false |
deleteSubnodes | 1.174s |
2022-02-01 22:26:54 |
2022-02-01 22:26:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:54 | ------------------------------------ 2022-02-01 22:26:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-22e92d39-9959-4941-b109-0d5b7528dab7</node></data> 2022-02-01 22:26:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:26:55 | [Mutex] waiting for: [received:nodes:a9905dbc-01b4-4183-9f2a-6afd7156b29a:localhost] 2022-02-01 22:26:55 | [Mutex] received everything. 2022-02-01 22:26:55 | [Mutex] isItemNotified: received:node:a9905dbc-01b4-4183-9f2a-6afd7156b29a:localhost:node-22e92d39-9959-4941-b109-0d5b7528dab7:Node 22e92d39-9959-4941-b109-0d5b7528dab7 :: false 2022-02-01 22:26:55 | [Mutex] waiting for: [received:nodes:62556dff-d5ba-4432-aff4-460b6949652a:localhost] 2022-02-01 22:26:55 | [Mutex] received everything. 2022-02-01 22:26:55 | [Mutex] isItemNotified: received:node:62556dff-d5ba-4432-aff4-460b6949652a:localhost:node-22e92d39-9959-4941-b109-0d5b7528dab7:Node 22e92d39-9959-4941-b109-0d5b7528dab7 :: false |
publishItemsToNodes | 0.244s |
2022-02-01 22:26:52 |
2022-02-01 22:26:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:52 | ------------------------------------ 2022-02-01 22:26:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-22e92d39-9959-4941-b109-0d5b7528dab7</node><item-id>item-29b16d03-b529-439f-90dd-b23710f63e27</item-id><entry><test>item-29b16d03-b529-439f-90dd-b23710f63e27</test></entry></data> 2022-02-01 22:26:52 | 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-29b16d03-b529-439f-90dd-b23710f63e27</value></item-id></result> 2022-02-01 22:26:52 | [Mutex] waiting for: [published:item:notifieditem-29b16d03-b529-439f-90dd-b23710f63e27:admin@test-domain.com] 2022-02-01 22:26:52 | [Mutex] received everything. 2022-02-01 22:26:52 | [Mutex] isItemNotified: published:item:notifieditem-29b16d03-b529-439f-90dd-b23710f63e27:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2022-02-01 22:26:52 |
2022-02-01 22:26:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:52 | ------------------------------------ 2022-02-01 22:26:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-22e92d39-9959-4941-b109-0d5b7528dab7</node><item-id>item-29b16d03-b529-439f-90dd-b23710f63e27</item-id></data> 2022-02-01 22:26:53 | 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-29b16d03-b529-439f-90dd-b23710f63e27</value></item-id></result> 2022-02-01 22:26:53 | [Mutex] received everything. 2022-02-01 22:26:53 | [Mutex] isItemNotified: retracted:item:notifieditem-29b16d03-b529-439f-90dd-b23710f63e27:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.270s |
2022-02-01 22:26:52 |
2022-02-01 22:26:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:52 | ------------------------------------ 2022-02-01 22:26:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-22e92d39-9959-4941-b109-0d5b7528dab7</node><item-id>item-29b16d03-b529-439f-90dd-b23710f63e27</item-id></data> 2022-02-01 22:26:52 | 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-22e92d39-9959-4941-b109-0d5b7528dab7</value></node><item-id type="text-single" label="Item ID"><value>item-29b16d03-b529-439f-90dd-b23710f63e27</value></item-id><item type="text-multi" label="Item"><value><item id="item-29b16d03-b529-439f-90dd-b23710f63e27"><test>item-29b16d03-b529-439f-90dd-b23710f63e27</test></item></value></item></result> 2022-02-01 22:26:52 | [Mutex] notify: [retrieved:item:item-29b16d03-b529-439f-90dd-b23710f63e27:payload-matches:true:localhost] 2022-02-01 22:26:52 | [Mutex] received everything. 2022-02-01 22:26:52 | [Mutex] isItemNotified: retrieved:item:item-29b16d03-b529-439f-90dd-b23710f63e27:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-02-01 22:26:52 |
2022-02-01 22:26:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:52 | ------------------------------------ 2022-02-01 22:26:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-01 22:26:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-22e92d39-9959-4941-b109-0d5b7528dab7</value><value>test</value><value>node-9abf639e-ecd2-44ae-9e85-d9b3f29ab788</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-01 22:26:52 |
2022-02-01 22:26:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:52 | ------------------------------------ 2022-02-01 22:26:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-22e92d39-9959-4941-b109-0d5b7528dab7)</node-pattern></data> 2022-02-01 22:26:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.145s |
2022-02-01 22:26:51 |
2022-02-01 22:26:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:51 | ------------------------------------ 2022-02-01 22:26:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-22e92d39-9959-4941-b109-0d5b7528dab7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-01 22:26:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.259s |
2022-02-01 22:26:53 |
2022-02-01 22:26:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:26:53 | ------------------------------------ 2022-02-01 22:26:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-22e92d39-9959-4941-b109-0d5b7528dab7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-01 22:26:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |