Generated by TestNG with ReportNG at 21:42 PST on Sunday 01 November 2020
root@eaa73862192b / 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.975s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2020-11-01 21:57:27 |

2020-11-01 21:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:27 | ------------------------------------

2020-11-01 21:57:27 | [Mutex] waiting for: [configured:node:node-afcfc20b-b153-43fd-a67e-cd4561749a75:node-775efb8d-7db9-4551-b836-a4473d1b3a59]

2020-11-01 21:57:27 | [Mutex] received everything.

2020-11-01 21:57:27 | [Mutex] isItemNotified: configured:node:node-afcfc20b-b153-43fd-a67e-cd4561749a75:node-775efb8d-7db9-4551-b836-a4473d1b3a59 :: true

2020-11-01 21:57:28 | [Mutex] waiting for: [received:nodes:ef5dd714-27ca-40b0-9300-879441189e36:localhost]

2020-11-01 21:57:28 | [Mutex] received everything.

2020-11-01 21:57:28 | [Mutex] isItemNotified: received:node:ef5dd714-27ca-40b0-9300-879441189e36:localhost:node-afcfc20b-b153-43fd-a67e-cd4561749a75:Node afcfc20b-b153-43fd-a67e-cd4561749a75 :: true

2020-11-01 21:57:28 | [Mutex] waiting for: [received:nodes:e5a661be-64ba-4a60-9332-ded6ec245189:localhost]

2020-11-01 21:57:28 | [Mutex] waiting for: [received:nodes:e5a661be-64ba-4a60-9332-ded6ec245189:localhost]

2020-11-01 21:57:28 | [Mutex] waiting for: [received:nodes:e5a661be-64ba-4a60-9332-ded6ec245189:localhost]

2020-11-01 21:57:28 | [Mutex] received everything.

2020-11-01 21:57:28 | [Mutex] isItemNotified: received:node:e5a661be-64ba-4a60-9332-ded6ec245189:localhost:node-afcfc20b-b153-43fd-a67e-cd4561749a75:Node afcfc20b-b153-43fd-a67e-cd4561749a75 :: false

createNodes 1.413s
2020-11-01 21:57:25 |

2020-11-01 21:57:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:25 | ------------------------------------

2020-11-01 21:57:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-afcfc20b-b153-43fd-a67e-cd4561749a75</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node afcfc20b-b153-43fd-a67e-cd4561749a75</title></pubsub></data>

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

2020-11-01 21:57:26 | [Mutex] waiting for: [received:nodes:8f9b2710-9c94-4746-813d-d6586ef46537:localhost]

2020-11-01 21:57:26 | [Mutex] received everything.

2020-11-01 21:57:26 | [Mutex] isItemNotified: received:node:8f9b2710-9c94-4746-813d-d6586ef46537:localhost:node-afcfc20b-b153-43fd-a67e-cd4561749a75:Node afcfc20b-b153-43fd-a67e-cd4561749a75 :: true

createSubnodes 1.033s
2020-11-01 21:57:26 |

2020-11-01 21:57:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:26 | ------------------------------------

2020-11-01 21:57:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-775efb8d-7db9-4551-b836-a4473d1b3a59</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 775efb8d-7db9-4551-b836-a4473d1b3a59</title></pubsub></data>

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

2020-11-01 21:57:27 | [Mutex] waiting for: [received:nodes:70109243-c63a-47c8-aaaf-b286adee526a:localhost]

2020-11-01 21:57:27 | [Mutex] received everything.

2020-11-01 21:57:27 | [Mutex] isItemNotified: received:node:70109243-c63a-47c8-aaaf-b286adee526a:localhost:node-775efb8d-7db9-4551-b836-a4473d1b3a59:Node 775efb8d-7db9-4551-b836-a4473d1b3a59 :: true

deleteNodes 1.022s
2020-11-01 21:57:33 |

2020-11-01 21:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:33 | ------------------------------------

2020-11-01 21:57:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-775efb8d-7db9-4551-b836-a4473d1b3a59</node></data>

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

2020-11-01 21:57:34 | [Mutex] waiting for: [received:nodes:ea683b9f-3b9e-424d-b5fd-1c3c5c017b62:localhost]

2020-11-01 21:57:34 | [Mutex] received everything.

2020-11-01 21:57:34 | [Mutex] isItemNotified: received:node:ea683b9f-3b9e-424d-b5fd-1c3c5c017b62:localhost:node-775efb8d-7db9-4551-b836-a4473d1b3a59:Node 775efb8d-7db9-4551-b836-a4473d1b3a59 :: false

deleteSubnodes 1.150s
2020-11-01 21:57:32 |

2020-11-01 21:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:32 | ------------------------------------

2020-11-01 21:57:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-afcfc20b-b153-43fd-a67e-cd4561749a75</node></data>

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

2020-11-01 21:57:33 | [Mutex] waiting for: [received:nodes:93216324-9d04-49a7-b77e-1650f0df41a9:localhost]

2020-11-01 21:57:33 | [Mutex] waiting for: [received:nodes:93216324-9d04-49a7-b77e-1650f0df41a9:localhost]

2020-11-01 21:57:33 | [Mutex] received everything.

2020-11-01 21:57:33 | [Mutex] isItemNotified: received:node:93216324-9d04-49a7-b77e-1650f0df41a9:localhost:node-afcfc20b-b153-43fd-a67e-cd4561749a75:Node afcfc20b-b153-43fd-a67e-cd4561749a75 :: false

2020-11-01 21:57:33 | [Mutex] waiting for: [received:nodes:b42fdfcf-b6a7-4ec2-a1ce-1c01a060653a:localhost]

2020-11-01 21:57:33 | [Mutex] received everything.

2020-11-01 21:57:33 | [Mutex] isItemNotified: received:node:b42fdfcf-b6a7-4ec2-a1ce-1c01a060653a:localhost:node-afcfc20b-b153-43fd-a67e-cd4561749a75:Node afcfc20b-b153-43fd-a67e-cd4561749a75 :: false

publishItemsToNodes 0.258s
2020-11-01 21:57:29 |

2020-11-01 21:57:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:29 | ------------------------------------

2020-11-01 21:57:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-afcfc20b-b153-43fd-a67e-cd4561749a75</node><item-id>item-f2e793bd-9461-4fac-9691-a0d2bebf900d</item-id><entry><test>item-f2e793bd-9461-4fac-9691-a0d2bebf900d</test></entry></data>

2020-11-01 21:57:30 | 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-f2e793bd-9461-4fac-9691-a0d2bebf900d</value></item-id></result>

2020-11-01 21:57:30 | [Mutex] received everything.

2020-11-01 21:57:30 | [Mutex] isItemNotified: published:item:notifieditem-f2e793bd-9461-4fac-9691-a0d2bebf900d:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2020-11-01 21:57:30 |

2020-11-01 21:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:30 | ------------------------------------

2020-11-01 21:57:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-afcfc20b-b153-43fd-a67e-cd4561749a75</node><item-id>item-f2e793bd-9461-4fac-9691-a0d2bebf900d</item-id></data>

2020-11-01 21:57:30 | 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-f2e793bd-9461-4fac-9691-a0d2bebf900d</value></item-id></result>

2020-11-01 21:57:30 | [Mutex] received everything.

2020-11-01 21:57:30 | [Mutex] isItemNotified: retracted:item:notifieditem-f2e793bd-9461-4fac-9691-a0d2bebf900d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.298s
2020-11-01 21:57:30 |

2020-11-01 21:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:30 | ------------------------------------

2020-11-01 21:57:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-afcfc20b-b153-43fd-a67e-cd4561749a75</node><item-id>item-f2e793bd-9461-4fac-9691-a0d2bebf900d</item-id></data>

2020-11-01 21:57:30 | 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-afcfc20b-b153-43fd-a67e-cd4561749a75</value></node><item-id type="text-single" label="Item ID"><value>item-f2e793bd-9461-4fac-9691-a0d2bebf900d</value></item-id><item type="text-multi" label="Item"><value><item id="item-f2e793bd-9461-4fac-9691-a0d2bebf900d"><test>item-f2e793bd-9461-4fac-9691-a0d2bebf900d</test></item></value></item></result>

2020-11-01 21:57:30 | [Mutex] notify: [retrieved:item:item-f2e793bd-9461-4fac-9691-a0d2bebf900d:payload-matches:true:localhost]

2020-11-01 21:57:30 | [Mutex] received everything.

2020-11-01 21:57:30 | [Mutex] isItemNotified: retrieved:item:item-f2e793bd-9461-4fac-9691-a0d2bebf900d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-11-01 21:57:30 |

2020-11-01 21:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:30 | ------------------------------------

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

2020-11-01 21:57:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-afcfc20b-b153-43fd-a67e-cd4561749a75</value><value>test</value><value>node-775efb8d-7db9-4551-b836-a4473d1b3a59</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-11-01 21:57:30 |

2020-11-01 21:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:30 | ------------------------------------

2020-11-01 21:57:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-afcfc20b-b153-43fd-a67e-cd4561749a75)</node-pattern></data>

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

subscribeNodes 1.111s
2020-11-01 21:57:28 |

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

2020-11-01 21:57:28 | ------------------------------------

2020-11-01 21:57:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-afcfc20b-b153-43fd-a67e-cd4561749a75</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.276s
2020-11-01 21:57:30 |

2020-11-01 21:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:57:30 | ------------------------------------

2020-11-01 21:57:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-afcfc20b-b153-43fd-a67e-cd4561749a75</node><jids><value>admin@test-domain.com</value></jids></data>

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