Generated by TestNG with ReportNG at 22:47 PDT on Wednesday 31 August 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.638s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2022-08-31 23:01:58 |

2022-08-31 23:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:01:58 | ------------------------------------

2022-08-31 23:01:58 | [Mutex] waiting for: [configured:node:node-9c8770d1-05ca-4f9f-8517-da7c7bace180:node-a94a3578-ec00-4bd2-b644-ec137606062d]

2022-08-31 23:01:58 | [Mutex] received everything.

2022-08-31 23:01:58 | [Mutex] isItemNotified: configured:node:node-9c8770d1-05ca-4f9f-8517-da7c7bace180:node-a94a3578-ec00-4bd2-b644-ec137606062d :: true

2022-08-31 23:01:59 | [Mutex] waiting for: [received:nodes:bb725fd9-441c-442f-a4d8-ed91887f5621:localhost]

2022-08-31 23:01:59 | [Mutex] received everything.

2022-08-31 23:01:59 | [Mutex] isItemNotified: received:node:bb725fd9-441c-442f-a4d8-ed91887f5621:localhost:node-9c8770d1-05ca-4f9f-8517-da7c7bace180:Node 9c8770d1-05ca-4f9f-8517-da7c7bace180 :: true

2022-08-31 23:01:59 | [Mutex] waiting for: [received:nodes:e2190bfe-4112-4236-a557-11cc1db72935:localhost]

2022-08-31 23:01:59 | [Mutex] received everything.

2022-08-31 23:01:59 | [Mutex] isItemNotified: received:node:e2190bfe-4112-4236-a557-11cc1db72935:localhost:node-9c8770d1-05ca-4f9f-8517-da7c7bace180:Node 9c8770d1-05ca-4f9f-8517-da7c7bace180 :: false

createNodes 1.427s
2022-08-31 23:01:55 |

2022-08-31 23:01:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:01:55 | ------------------------------------

2022-08-31 23:01:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9c8770d1-05ca-4f9f-8517-da7c7bace180</title></pubsub></data>

2022-08-31 23:01:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 23:01:57 | [Mutex] waiting for: [received:nodes:1e189673-bdb4-4049-8e49-b713ec72646b:localhost]

2022-08-31 23:01:57 | [Mutex] received everything.

2022-08-31 23:01:57 | [Mutex] isItemNotified: received:node:1e189673-bdb4-4049-8e49-b713ec72646b:localhost:node-9c8770d1-05ca-4f9f-8517-da7c7bace180:Node 9c8770d1-05ca-4f9f-8517-da7c7bace180 :: true

createSubnodes 1.021s
2022-08-31 23:01:57 |

2022-08-31 23:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:01:57 | ------------------------------------

2022-08-31 23:01:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a94a3578-ec00-4bd2-b644-ec137606062d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a94a3578-ec00-4bd2-b644-ec137606062d</title></pubsub></data>

2022-08-31 23:01:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 23:01:58 | [Mutex] waiting for: [received:nodes:8aca8b3b-0ae8-4d9f-a89f-7181512e621b:localhost]

2022-08-31 23:01:58 | [Mutex] received everything.

2022-08-31 23:01:58 | [Mutex] isItemNotified: received:node:8aca8b3b-0ae8-4d9f-a89f-7181512e621b:localhost:node-a94a3578-ec00-4bd2-b644-ec137606062d:Node a94a3578-ec00-4bd2-b644-ec137606062d :: true

deleteNodes 1.016s
2022-08-31 23:02:03 |

2022-08-31 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:03 | ------------------------------------

2022-08-31 23:02:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a94a3578-ec00-4bd2-b644-ec137606062d</node></data>

2022-08-31 23:02:03 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 23:02:04 | [Mutex] waiting for: [received:nodes:a967b025-1f87-4cd0-a523-da17becdf65a:localhost]

2022-08-31 23:02:04 | [Mutex] waiting for: [received:nodes:a967b025-1f87-4cd0-a523-da17becdf65a:localhost]

2022-08-31 23:02:04 | [Mutex] waiting for: [received:nodes:a967b025-1f87-4cd0-a523-da17becdf65a:localhost]

2022-08-31 23:02:04 | [Mutex] received everything.

2022-08-31 23:02:04 | [Mutex] isItemNotified: received:node:a967b025-1f87-4cd0-a523-da17becdf65a:localhost:node-a94a3578-ec00-4bd2-b644-ec137606062d:Node a94a3578-ec00-4bd2-b644-ec137606062d :: false

deleteSubnodes 1.183s
2022-08-31 23:02:02 |

2022-08-31 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:02 | ------------------------------------

2022-08-31 23:02:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</node></data>

2022-08-31 23:02:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 23:02:03 | [Mutex] waiting for: [received:nodes:9f81e169-4f92-451e-8e0c-c9cef38767b9:localhost]

2022-08-31 23:02:03 | [Mutex] received everything.

2022-08-31 23:02:03 | [Mutex] isItemNotified: received:node:9f81e169-4f92-451e-8e0c-c9cef38767b9:localhost:node-9c8770d1-05ca-4f9f-8517-da7c7bace180:Node 9c8770d1-05ca-4f9f-8517-da7c7bace180 :: false

2022-08-31 23:02:03 | [Mutex] waiting for: [received:nodes:c5f7d917-0bb9-4be8-a81b-81dc35102539:localhost]

2022-08-31 23:02:03 | [Mutex] received everything.

2022-08-31 23:02:03 | [Mutex] isItemNotified: received:node:c5f7d917-0bb9-4be8-a81b-81dc35102539:localhost:node-9c8770d1-05ca-4f9f-8517-da7c7bace180:Node 9c8770d1-05ca-4f9f-8517-da7c7bace180 :: false

publishItemsToNodes 0.188s
2022-08-31 23:02:00 |

2022-08-31 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:00 | ------------------------------------

2022-08-31 23:02:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</node><item-id>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</item-id><entry><test>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</test></entry></data>

2022-08-31 23:02:00 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</value></item-id></result>

2022-08-31 23:02:00 | [Mutex] received everything.

2022-08-31 23:02:00 | [Mutex] isItemNotified: published:item:notifieditem-59d2b032-91cd-4888-b47a-a9d53f34e91d:admin@test-domain.com :: true

retractItemsFromNodes 0.273s
2022-08-31 23:02:00 |

2022-08-31 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:00 | ------------------------------------

2022-08-31 23:02:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</node><item-id>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</item-id></data>

2022-08-31 23:02:01 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</value></item-id></result>

2022-08-31 23:02:01 | [Mutex] received everything.

2022-08-31 23:02:01 | [Mutex] isItemNotified: retracted:item:notifieditem-59d2b032-91cd-4888-b47a-a9d53f34e91d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2022-08-31 23:02:00 |

2022-08-31 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:00 | ------------------------------------

2022-08-31 23:02:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</node><item-id>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</item-id></data>

2022-08-31 23:02:00 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</value></node><item-id label="Item ID" type="text-single"><value>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</value></item-id><item label="Item" type="text-multi"><value><item id="item-59d2b032-91cd-4888-b47a-a9d53f34e91d"><test>item-59d2b032-91cd-4888-b47a-a9d53f34e91d</test></item></value></item></result>

2022-08-31 23:02:00 | [Mutex] notify: [retrieved:item:item-59d2b032-91cd-4888-b47a-a9d53f34e91d:payload-matches:true:localhost]

2022-08-31 23:02:00 | [Mutex] received everything.

2022-08-31 23:02:00 | [Mutex] isItemNotified: retrieved:item:item-59d2b032-91cd-4888-b47a-a9d53f34e91d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-31 23:02:00 |

2022-08-31 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:00 | ------------------------------------

2022-08-31 23:02:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-31 23:02:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</value><value>node-a94a3578-ec00-4bd2-b644-ec137606062d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-31 23:02:00 |

2022-08-31 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:00 | ------------------------------------

2022-08-31 23:02:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9c8770d1-05ca-4f9f-8517-da7c7bace180)</node-pattern></data>

2022-08-31 23:02:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.168s
2022-08-31 23:01:59 |

2022-08-31 23:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:01:59 | ------------------------------------

2022-08-31 23:01:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-31 23:01:59 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.218s
2022-08-31 23:02:01 |

2022-08-31 23:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:02:01 | ------------------------------------

2022-08-31 23:02:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9c8770d1-05ca-4f9f-8517-da7c7bace180</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-31 23:02:01 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>