Generated by TestNG with ReportNG at 21:21 PST on Wednesday 30 December 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 : 9.954s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2020-12-30 21:36:44 |

2020-12-30 21:36:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:44 | ------------------------------------

2020-12-30 21:36:44 | [Mutex] waiting for: [configured:node:node-01bd9370-53fd-4084-bfc9-9571bf64cb00:node-1f8d96c1-03f2-4320-9955-b8f04ad3a9ab]

2020-12-30 21:36:44 | [Mutex] received everything.

2020-12-30 21:36:44 | [Mutex] isItemNotified: configured:node:node-01bd9370-53fd-4084-bfc9-9571bf64cb00:node-1f8d96c1-03f2-4320-9955-b8f04ad3a9ab :: true

2020-12-30 21:36:45 | [Mutex] waiting for: [received:nodes:370d83c1-9146-4b91-af6c-e812b96a8883:localhost]

2020-12-30 21:36:45 | [Mutex] received everything.

2020-12-30 21:36:45 | [Mutex] isItemNotified: received:node:370d83c1-9146-4b91-af6c-e812b96a8883:localhost:node-01bd9370-53fd-4084-bfc9-9571bf64cb00:Node 01bd9370-53fd-4084-bfc9-9571bf64cb00 :: true

2020-12-30 21:36:45 | [Mutex] waiting for: [received:nodes:138fb4f7-ec81-4a5a-bb4e-5ddfc0d7894b:localhost]

2020-12-30 21:36:45 | [Mutex] waiting for: [received:nodes:138fb4f7-ec81-4a5a-bb4e-5ddfc0d7894b:localhost]

2020-12-30 21:36:45 | [Mutex] received everything.

2020-12-30 21:36:45 | [Mutex] isItemNotified: received:node:138fb4f7-ec81-4a5a-bb4e-5ddfc0d7894b:localhost:node-01bd9370-53fd-4084-bfc9-9571bf64cb00:Node 01bd9370-53fd-4084-bfc9-9571bf64cb00 :: false

createNodes 1.425s
2020-12-30 21:36:41 |

2020-12-30 21:36:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:41 | ------------------------------------

2020-12-30 21:36:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 01bd9370-53fd-4084-bfc9-9571bf64cb00</title></pubsub></data>

2020-12-30 21:36:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:36:43 | [Mutex] waiting for: [received:nodes:924436bd-fa7c-4baa-af8e-13c00281603d:localhost]

2020-12-30 21:36:43 | [Mutex] received everything.

2020-12-30 21:36:43 | [Mutex] isItemNotified: received:node:924436bd-fa7c-4baa-af8e-13c00281603d:localhost:node-01bd9370-53fd-4084-bfc9-9571bf64cb00:Node 01bd9370-53fd-4084-bfc9-9571bf64cb00 :: true

createSubnodes 1.034s
2020-12-30 21:36:43 |

2020-12-30 21:36:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:43 | ------------------------------------

2020-12-30 21:36:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1f8d96c1-03f2-4320-9955-b8f04ad3a9ab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1f8d96c1-03f2-4320-9955-b8f04ad3a9ab</title></pubsub></data>

2020-12-30 21:36:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:36:44 | [Mutex] waiting for: [received:nodes:427f505c-1051-490f-8001-896f57c12a2c:localhost]

2020-12-30 21:36:44 | [Mutex] received everything.

2020-12-30 21:36:44 | [Mutex] isItemNotified: received:node:427f505c-1051-490f-8001-896f57c12a2c:localhost:node-1f8d96c1-03f2-4320-9955-b8f04ad3a9ab:Node 1f8d96c1-03f2-4320-9955-b8f04ad3a9ab :: true

deleteNodes 1.020s
2020-12-30 21:36:49 |

2020-12-30 21:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:49 | ------------------------------------

2020-12-30 21:36:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1f8d96c1-03f2-4320-9955-b8f04ad3a9ab</node></data>

2020-12-30 21:36:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:36:50 | [Mutex] waiting for: [received:nodes:a1126a75-df36-4c9f-9c5a-5af4b69931d4:localhost]

2020-12-30 21:36:50 | [Mutex] waiting for: [received:nodes:a1126a75-df36-4c9f-9c5a-5af4b69931d4:localhost]

2020-12-30 21:36:50 | [Mutex] received everything.

2020-12-30 21:36:50 | [Mutex] isItemNotified: received:node:a1126a75-df36-4c9f-9c5a-5af4b69931d4:localhost:node-1f8d96c1-03f2-4320-9955-b8f04ad3a9ab:Node 1f8d96c1-03f2-4320-9955-b8f04ad3a9ab :: false

deleteSubnodes 1.189s
2020-12-30 21:36:48 |

2020-12-30 21:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:48 | ------------------------------------

2020-12-30 21:36:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</node></data>

2020-12-30 21:36:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:36:49 | [Mutex] waiting for: [received:nodes:f0f2486a-ba65-4d90-acef-dee976cd9685:localhost]

2020-12-30 21:36:49 | [Mutex] received everything.

2020-12-30 21:36:49 | [Mutex] isItemNotified: received:node:f0f2486a-ba65-4d90-acef-dee976cd9685:localhost:node-01bd9370-53fd-4084-bfc9-9571bf64cb00:Node 01bd9370-53fd-4084-bfc9-9571bf64cb00 :: false

2020-12-30 21:36:49 | [Mutex] waiting for: [received:nodes:eea2de23-c6d8-4ab7-a641-75fee74cbcdf:localhost]

2020-12-30 21:36:49 | [Mutex] received everything.

2020-12-30 21:36:49 | [Mutex] isItemNotified: received:node:eea2de23-c6d8-4ab7-a641-75fee74cbcdf:localhost:node-01bd9370-53fd-4084-bfc9-9571bf64cb00:Node 01bd9370-53fd-4084-bfc9-9571bf64cb00 :: false

publishItemsToNodes 0.269s
2020-12-30 21:36:46 |

2020-12-30 21:36:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:46 | ------------------------------------

2020-12-30 21:36:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</node><item-id>item-972b86d0-6d37-4fdd-97fe-3af26682d20f</item-id><entry><test>item-972b86d0-6d37-4fdd-97fe-3af26682d20f</test></entry></data>

2020-12-30 21:36:46 | 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-972b86d0-6d37-4fdd-97fe-3af26682d20f</value></item-id></result>

2020-12-30 21:36:46 | [Mutex] received everything.

2020-12-30 21:36:46 | [Mutex] isItemNotified: published:item:notifieditem-972b86d0-6d37-4fdd-97fe-3af26682d20f:admin@test-domain.com :: true

retractItemsFromNodes 0.187s
2020-12-30 21:36:47 |

2020-12-30 21:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:47 | ------------------------------------

2020-12-30 21:36:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</node><item-id>item-972b86d0-6d37-4fdd-97fe-3af26682d20f</item-id></data>

2020-12-30 21:36:47 | 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-972b86d0-6d37-4fdd-97fe-3af26682d20f</value></item-id></result>

2020-12-30 21:36:47 | [Mutex] received everything.

2020-12-30 21:36:47 | [Mutex] isItemNotified: retracted:item:notifieditem-972b86d0-6d37-4fdd-97fe-3af26682d20f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.256s
2020-12-30 21:36:46 |

2020-12-30 21:36:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:46 | ------------------------------------

2020-12-30 21:36:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</node><item-id>item-972b86d0-6d37-4fdd-97fe-3af26682d20f</item-id></data>

2020-12-30 21:36:47 | 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-01bd9370-53fd-4084-bfc9-9571bf64cb00</value></node><item-id type="text-single" label="Item ID"><value>item-972b86d0-6d37-4fdd-97fe-3af26682d20f</value></item-id><item type="text-multi" label="Item"><value><item id="item-972b86d0-6d37-4fdd-97fe-3af26682d20f"><test>item-972b86d0-6d37-4fdd-97fe-3af26682d20f</test></item></value></item></result>

2020-12-30 21:36:47 | [Mutex] notify: [retrieved:item:item-972b86d0-6d37-4fdd-97fe-3af26682d20f:payload-matches:true:localhost]

2020-12-30 21:36:47 | [Mutex] received everything.

2020-12-30 21:36:47 | [Mutex] isItemNotified: retrieved:item:item-972b86d0-6d37-4fdd-97fe-3af26682d20f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-30 21:36:47 |

2020-12-30 21:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:47 | ------------------------------------

2020-12-30 21:36:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-30 21:36:47 | 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-1f8d96c1-03f2-4320-9955-b8f04ad3a9ab</value><value>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-12-30 21:36:47 |

2020-12-30 21:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:47 | ------------------------------------

2020-12-30 21:36:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-01bd9370-53fd-4084-bfc9-9571bf64cb00)</node-pattern></data>

2020-12-30 21:36:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.142s
2020-12-30 21:36:45 |

2020-12-30 21:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:45 | ------------------------------------

2020-12-30 21:36:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-30 21:36:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.202s
2020-12-30 21:36:47 |

2020-12-30 21:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:36:47 | ------------------------------------

2020-12-30 21:36:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-01bd9370-53fd-4084-bfc9-9571bf64cb00</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-30 21:36:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>