Generated by TestNG with ReportNG at 21:14 PST on Monday 23 November 2020
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.120s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2020-11-23 21:28:42 |

2020-11-23 21:28:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:42 | ------------------------------------

2020-11-23 21:28:42 | [Mutex] waiting for: [configured:node:node-5411e0c8-7d26-4de8-a375-f99e62ea13f4:node-2c1488ed-7a35-48ae-bdf4-3ba608bd609d]

2020-11-23 21:28:42 | [Mutex] received everything.

2020-11-23 21:28:42 | [Mutex] isItemNotified: configured:node:node-5411e0c8-7d26-4de8-a375-f99e62ea13f4:node-2c1488ed-7a35-48ae-bdf4-3ba608bd609d :: true

2020-11-23 21:28:43 | [Mutex] waiting for: [received:nodes:5bc30fab-41ce-4fbd-8921-1934f29d4250:localhost]

2020-11-23 21:28:43 | [Mutex] waiting for: [received:nodes:5bc30fab-41ce-4fbd-8921-1934f29d4250:localhost]

2020-11-23 21:28:43 | [Mutex] received everything.

2020-11-23 21:28:43 | [Mutex] isItemNotified: received:node:5bc30fab-41ce-4fbd-8921-1934f29d4250:localhost:node-5411e0c8-7d26-4de8-a375-f99e62ea13f4:Node 5411e0c8-7d26-4de8-a375-f99e62ea13f4 :: true

2020-11-23 21:28:43 | [Mutex] waiting for: [received:nodes:c3b50efa-ece7-4d48-9f98-c0008348b026:localhost]

2020-11-23 21:28:43 | [Mutex] waiting for: [received:nodes:c3b50efa-ece7-4d48-9f98-c0008348b026:localhost]

2020-11-23 21:28:43 | [Mutex] received everything.

2020-11-23 21:28:43 | [Mutex] isItemNotified: received:node:c3b50efa-ece7-4d48-9f98-c0008348b026:localhost:node-5411e0c8-7d26-4de8-a375-f99e62ea13f4:Node 5411e0c8-7d26-4de8-a375-f99e62ea13f4 :: false

createNodes 1.627s
2020-11-23 21:28:39 |

2020-11-23 21:28:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:39 | ------------------------------------

2020-11-23 21:28:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5411e0c8-7d26-4de8-a375-f99e62ea13f4</title></pubsub></data>

2020-11-23 21:28:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-23 21:28:41 | [Mutex] waiting for: [received:nodes:107fa0c7-516e-4909-8bdb-1c191ac0ba84:localhost]

2020-11-23 21:28:41 | [Mutex] received everything.

2020-11-23 21:28:41 | [Mutex] isItemNotified: received:node:107fa0c7-516e-4909-8bdb-1c191ac0ba84:localhost:node-5411e0c8-7d26-4de8-a375-f99e62ea13f4:Node 5411e0c8-7d26-4de8-a375-f99e62ea13f4 :: true

createSubnodes 1.025s
2020-11-23 21:28:41 |

2020-11-23 21:28:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:41 | ------------------------------------

2020-11-23 21:28:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2c1488ed-7a35-48ae-bdf4-3ba608bd609d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2c1488ed-7a35-48ae-bdf4-3ba608bd609d</title></pubsub></data>

2020-11-23 21:28:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-23 21:28:42 | [Mutex] waiting for: [received:nodes:add1e75a-05e6-4b56-ba04-848584a88b04:localhost]

2020-11-23 21:28:42 | [Mutex] received everything.

2020-11-23 21:28:42 | [Mutex] isItemNotified: received:node:add1e75a-05e6-4b56-ba04-848584a88b04:localhost:node-2c1488ed-7a35-48ae-bdf4-3ba608bd609d:Node 2c1488ed-7a35-48ae-bdf4-3ba608bd609d :: true

deleteNodes 1.031s
2020-11-23 21:28:47 |

2020-11-23 21:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:47 | ------------------------------------

2020-11-23 21:28:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2c1488ed-7a35-48ae-bdf4-3ba608bd609d</node></data>

2020-11-23 21:28:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-23 21:28:48 | [Mutex] waiting for: [received:nodes:6458f00b-1a3d-4acf-8b57-635819ec8303:localhost]

2020-11-23 21:28:48 | [Mutex] received everything.

2020-11-23 21:28:48 | [Mutex] isItemNotified: received:node:6458f00b-1a3d-4acf-8b57-635819ec8303:localhost:node-2c1488ed-7a35-48ae-bdf4-3ba608bd609d:Node 2c1488ed-7a35-48ae-bdf4-3ba608bd609d :: false

deleteSubnodes 1.125s
2020-11-23 21:28:46 |

2020-11-23 21:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:46 | ------------------------------------

2020-11-23 21:28:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</node></data>

2020-11-23 21:28:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-23 21:28:47 | [Mutex] waiting for: [received:nodes:104b4dcc-afc2-4872-8530-df6c38736386:localhost]

2020-11-23 21:28:47 | [Mutex] received everything.

2020-11-23 21:28:47 | [Mutex] isItemNotified: received:node:104b4dcc-afc2-4872-8530-df6c38736386:localhost:node-5411e0c8-7d26-4de8-a375-f99e62ea13f4:Node 5411e0c8-7d26-4de8-a375-f99e62ea13f4 :: false

2020-11-23 21:28:47 | [Mutex] waiting for: [received:nodes:c1f03f17-975f-4a41-aff1-64bdfe151d2e:localhost]

2020-11-23 21:28:47 | [Mutex] received everything.

2020-11-23 21:28:47 | [Mutex] isItemNotified: received:node:c1f03f17-975f-4a41-aff1-64bdfe151d2e:localhost:node-5411e0c8-7d26-4de8-a375-f99e62ea13f4:Node 5411e0c8-7d26-4de8-a375-f99e62ea13f4 :: false

publishItemsToNodes 0.196s
2020-11-23 21:28:44 |

2020-11-23 21:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:44 | ------------------------------------

2020-11-23 21:28:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</node><item-id>item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</item-id><entry><test>item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</test></entry></data>

2020-11-23 21:28:44 | 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-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</value></item-id></result>

2020-11-23 21:28:44 | [Mutex] received everything.

2020-11-23 21:28:44 | [Mutex] isItemNotified: published:item:notifieditem-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b:admin@test-domain.com :: true

retractItemsFromNodes 0.204s
2020-11-23 21:28:45 |

2020-11-23 21:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:45 | ------------------------------------

2020-11-23 21:28:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</node><item-id>item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</item-id></data>

2020-11-23 21:28:45 | 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-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</value></item-id></result>

2020-11-23 21:28:45 | [Mutex] waiting for: [retracted:item:notifieditem-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b:admin@test-domain.com]

2020-11-23 21:28:45 | [Mutex] received everything.

2020-11-23 21:28:45 | [Mutex] isItemNotified: retracted:item:notifieditem-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.303s
2020-11-23 21:28:44 |

2020-11-23 21:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:44 | ------------------------------------

2020-11-23 21:28:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</node><item-id>item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</item-id></data>

2020-11-23 21:28:44 | 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-5411e0c8-7d26-4de8-a375-f99e62ea13f4</value></node><item-id type="text-single" label="Item ID"><value>item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</value></item-id><item type="text-multi" label="Item"><value><item id="item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b"><test>item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b</test></item></value></item></result>

2020-11-23 21:28:44 | [Mutex] notify: [retrieved:item:item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b:payload-matches:true:localhost]

2020-11-23 21:28:44 | [Mutex] received everything.

2020-11-23 21:28:44 | [Mutex] isItemNotified: retrieved:item:item-f4cb7160-0bea-4822-9d8f-0e4e4e278b0b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-11-23 21:28:44 |

2020-11-23 21:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:44 | ------------------------------------

2020-11-23 21:28:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-23 21:28:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</value><value>node-2c1488ed-7a35-48ae-bdf4-3ba608bd609d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.060s
2020-11-23 21:28:44 |

2020-11-23 21:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:44 | ------------------------------------

2020-11-23 21:28:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5411e0c8-7d26-4de8-a375-f99e62ea13f4)</node-pattern></data>

2020-11-23 21:28:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.099s
2020-11-23 21:28:43 |

2020-11-23 21:28:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:43 | ------------------------------------

2020-11-23 21:28:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-23 21:28:43 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.286s
2020-11-23 21:28:45 |

2020-11-23 21:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:28:45 | ------------------------------------

2020-11-23 21:28:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5411e0c8-7d26-4de8-a375-f99e62ea13f4</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-23 21:28:45 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>