Generated by TestNG with ReportNG at 00:18 PDT on Thursday 24 September 2020
root@d2a27fcc5bc3 / 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.099s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2020-09-24 00:35:31 |

2020-09-24 00:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:31 | ------------------------------------

2020-09-24 00:35:31 | [Mutex] waiting for: [configured:node:node-c5d8b0fa-319a-4d9e-84e7-e94de20be493:node-2a543e56-2d9c-417b-8567-fd1636460fd4]

2020-09-24 00:35:31 | [Mutex] received everything.

2020-09-24 00:35:31 | [Mutex] isItemNotified: configured:node:node-c5d8b0fa-319a-4d9e-84e7-e94de20be493:node-2a543e56-2d9c-417b-8567-fd1636460fd4 :: true

2020-09-24 00:35:32 | [Mutex] waiting for: [received:nodes:ff302494-6502-46ab-ae9f-807b0948fefb:localhost]

2020-09-24 00:35:32 | [Mutex] received everything.

2020-09-24 00:35:32 | [Mutex] isItemNotified: received:node:ff302494-6502-46ab-ae9f-807b0948fefb:localhost:node-c5d8b0fa-319a-4d9e-84e7-e94de20be493:Node c5d8b0fa-319a-4d9e-84e7-e94de20be493 :: true

2020-09-24 00:35:32 | [Mutex] waiting for: [received:nodes:0b799def-b225-4fb3-a9ff-a4bd8f7ea936:localhost]

2020-09-24 00:35:32 | [Mutex] waiting for: [received:nodes:0b799def-b225-4fb3-a9ff-a4bd8f7ea936:localhost]

2020-09-24 00:35:32 | [Mutex] received everything.

2020-09-24 00:35:32 | [Mutex] isItemNotified: received:node:0b799def-b225-4fb3-a9ff-a4bd8f7ea936:localhost:node-c5d8b0fa-319a-4d9e-84e7-e94de20be493:Node c5d8b0fa-319a-4d9e-84e7-e94de20be493 :: false

createNodes 1.588s
2020-09-24 00:35:29 |

2020-09-24 00:35:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:29 | ------------------------------------

2020-09-24 00:35:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c5d8b0fa-319a-4d9e-84e7-e94de20be493</title></pubsub></data>

2020-09-24 00:35:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-24 00:35:30 | [Mutex] waiting for: [received:nodes:35007182-050e-422e-b219-d712cf87bd1e:localhost]

2020-09-24 00:35:30 | [Mutex] received everything.

2020-09-24 00:35:30 | [Mutex] isItemNotified: received:node:35007182-050e-422e-b219-d712cf87bd1e:localhost:node-c5d8b0fa-319a-4d9e-84e7-e94de20be493:Node c5d8b0fa-319a-4d9e-84e7-e94de20be493 :: true

createSubnodes 1.022s
2020-09-24 00:35:30 |

2020-09-24 00:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:30 | ------------------------------------

2020-09-24 00:35:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2a543e56-2d9c-417b-8567-fd1636460fd4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2a543e56-2d9c-417b-8567-fd1636460fd4</title></pubsub></data>

2020-09-24 00:35:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-24 00:35:31 | [Mutex] waiting for: [received:nodes:4909885b-490c-42e3-94fb-7fc233a1eb33:localhost]

2020-09-24 00:35:31 | [Mutex] received everything.

2020-09-24 00:35:31 | [Mutex] isItemNotified: received:node:4909885b-490c-42e3-94fb-7fc233a1eb33:localhost:node-2a543e56-2d9c-417b-8567-fd1636460fd4:Node 2a543e56-2d9c-417b-8567-fd1636460fd4 :: true

deleteNodes 1.020s
2020-09-24 00:35:37 |

2020-09-24 00:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:37 | ------------------------------------

2020-09-24 00:35:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2a543e56-2d9c-417b-8567-fd1636460fd4</node></data>

2020-09-24 00:35:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-24 00:35:38 | [Mutex] waiting for: [received:nodes:69a24e97-5374-44e8-973d-8bbbcc4d4a3d:localhost]

2020-09-24 00:35:38 | [Mutex] received everything.

2020-09-24 00:35:38 | [Mutex] isItemNotified: received:node:69a24e97-5374-44e8-973d-8bbbcc4d4a3d:localhost:node-2a543e56-2d9c-417b-8567-fd1636460fd4:Node 2a543e56-2d9c-417b-8567-fd1636460fd4 :: false

deleteSubnodes 1.123s
2020-09-24 00:35:36 |

2020-09-24 00:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:36 | ------------------------------------

2020-09-24 00:35:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</node></data>

2020-09-24 00:35:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-24 00:35:37 | [Mutex] waiting for: [received:nodes:9018973c-cc63-4f54-a201-53b782c1abc8:localhost]

2020-09-24 00:35:37 | [Mutex] received everything.

2020-09-24 00:35:37 | [Mutex] isItemNotified: received:node:9018973c-cc63-4f54-a201-53b782c1abc8:localhost:node-c5d8b0fa-319a-4d9e-84e7-e94de20be493:Node c5d8b0fa-319a-4d9e-84e7-e94de20be493 :: false

2020-09-24 00:35:37 | [Mutex] waiting for: [received:nodes:0b866635-f581-440e-bfa7-d91269847cb9:localhost]

2020-09-24 00:35:37 | [Mutex] received everything.

2020-09-24 00:35:37 | [Mutex] isItemNotified: received:node:0b866635-f581-440e-bfa7-d91269847cb9:localhost:node-c5d8b0fa-319a-4d9e-84e7-e94de20be493:Node c5d8b0fa-319a-4d9e-84e7-e94de20be493 :: false

publishItemsToNodes 0.241s
2020-09-24 00:35:34 |

2020-09-24 00:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:34 | ------------------------------------

2020-09-24 00:35:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</node><item-id>item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</item-id><entry><test>item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</test></entry></data>

2020-09-24 00:35:34 | 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-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</value></item-id></result>

2020-09-24 00:35:34 | [Mutex] waiting for: [published:item:notifieditem-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec:admin@test-domain.com]

2020-09-24 00:35:34 | [Mutex] received everything.

2020-09-24 00:35:34 | [Mutex] isItemNotified: published:item:notifieditem-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec:admin@test-domain.com :: true

retractItemsFromNodes 0.249s
2020-09-24 00:35:34 |

2020-09-24 00:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:34 | ------------------------------------

2020-09-24 00:35:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</node><item-id>item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</item-id></data>

2020-09-24 00:35:34 | 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-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</value></item-id></result>

2020-09-24 00:35:34 | [Mutex] received everything.

2020-09-24 00:35:34 | [Mutex] isItemNotified: retracted:item:notifieditem-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec:admin@test-domain.com :: true

retrieveItemsFromNodes 0.286s
2020-09-24 00:35:34 |

2020-09-24 00:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:34 | ------------------------------------

2020-09-24 00:35:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</node><item-id>item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</item-id></data>

2020-09-24 00:35:34 | 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-c5d8b0fa-319a-4d9e-84e7-e94de20be493</value></node><item-id type="text-single" label="Item ID"><value>item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</value></item-id><item type="text-multi" label="Item"><value><item id="item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec"><test>item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec</test></item></value></item></result>

2020-09-24 00:35:34 | [Mutex] notify: [retrieved:item:item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec:payload-matches:true:localhost]

2020-09-24 00:35:34 | [Mutex] received everything.

2020-09-24 00:35:34 | [Mutex] isItemNotified: retrieved:item:item-c939e9bf-f2f6-4b2c-a4a8-1991f7383bec:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-24 00:35:34 |

2020-09-24 00:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:34 | ------------------------------------

2020-09-24 00:35:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-24 00:35:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2a543e56-2d9c-417b-8567-fd1636460fd4</value><value>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-24 00:35:34 |

2020-09-24 00:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:34 | ------------------------------------

2020-09-24 00:35:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c5d8b0fa-319a-4d9e-84e7-e94de20be493)</node-pattern></data>

2020-09-24 00:35:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.101s
2020-09-24 00:35:32 |

2020-09-24 00:35:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:32 | ------------------------------------

2020-09-24 00:35:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-24 00:35:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.270s
2020-09-24 00:35:34 |

2020-09-24 00:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-24 00:35:34 | ------------------------------------

2020-09-24 00:35:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c5d8b0fa-319a-4d9e-84e7-e94de20be493</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-24 00:35:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>