Generated by TestNG with ReportNG at 21:44 PST on Thursday 18 February 2021
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.512s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.694s
2021-02-18 22:06:53 |

2021-02-18 22:06:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-18 22:06:53 | ------------------------------------

2021-02-18 22:06:53 | [Mutex] isItemNotified: node_hjcny20203:exists :: false

2021-02-18 22:06:53 | [Mutex] waiting for: [node_hjcny20203:create_node]

2021-02-18 22:06:53 | [Mutex] received everything.

2021-02-18 22:06:53 | [Mutex] isItemNotified: node_hjcny20203:create_node:success :: true

2021-02-18 22:06:53 | [Mutex] waiting for: [node_hjcny20203:subscribe_node]

2021-02-18 22:06:53 | [Mutex] waiting for: [node_hjcny20203:subscribe_node]

2021-02-18 22:06:53 | [Mutex] received everything.

2021-02-18 22:06:53 | [Mutex] isItemNotified: node_hjcny20203:subscribe_node:success :: true

2021-02-18 22:06:53 |


===== publishing normal message (to online)


2021-02-18 22:06:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 22:06:53 | command: <data><node>node_hjcny20203</node><entry><content>content_41eg840204</content></entry></data>

2021-02-18 22:06:53 | target: http://localhost:8088

2021-02-18 22:06:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-18 22:06:53 | entity: <data><node>node_hjcny20203</node><entry><content>content_41eg840204</content></entry></data>

2021-02-18 22:06:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:06:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 22:06:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>72fd2f8a-c732-4185-babf-052b509c24ab</value></item-id></result>

2021-02-18 22:06:53 | contains: true

2021-02-18 22:06:53 | [Mutex] received everything.

2021-02-18 22:06:53 | [Mutex] isItemNotified: user_regular75yep40202@test-domain.com:message:received:content_41eg840204 :: true

2021-02-18 22:06:53 |


===== publishing already old message - expecting message being filtered out (to online)


2021-02-18 22:06:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 22:06:53 | command: <data><node>node_hjcny20203</node><expire-at>2021-02-19T06:06:48Z</expire-at><entry><content>content_2pl97u0205</content></entry></data>

2021-02-18 22:06:53 | target: http://localhost:8088

2021-02-18 22:06:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-18 22:06:53 | entity: <data><node>node_hjcny20203</node><expire-at>2021-02-19T06:06:48Z</expire-at><entry><content>content_2pl97u0205</content></entry></data>

2021-02-18 22:06:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:06:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 22:06:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a18be67-9186-4e57-960e-e482cc9831f9</value></item-id></result>

2021-02-18 22:06:54 | contains: true

2021-02-18 22:06:54 | [Mutex] waiting for: [user_regular75yep40202@test-domain.com:message:received:content_2pl97u0205]

2021-02-18 22:07:09 | [Mutex] timeout. Not received [user_regular75yep40202@test-domain.com:message:received:content_2pl97u0205]

2021-02-18 22:07:09 | [Mutex] isItemNotified: user_regular75yep40202@test-domain.com:message:received:content_2pl97u0205 :: false

2021-02-18 22:07:09 |


===== publishing normal message (to offline)


2021-02-18 22:07:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 22:07:09 | command: <data><node>node_hjcny20203</node><entry><content>content_9enxox0206</content></entry></data>

2021-02-18 22:07:09 | target: http://localhost:8088

2021-02-18 22:07:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-18 22:07:09 | entity: <data><node>node_hjcny20203</node><entry><content>content_9enxox0206</content></entry></data>

2021-02-18 22:07:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:07:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 22:07:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2b724d24-df6a-4b6a-a9e9-a803d47d364e</value></item-id></result>

2021-02-18 22:07:09 | contains: true

2021-02-18 22:07:14 | [Mutex] waiting for: [user_regular75yep40202@test-domain.com:message:received:content_9enxox0206]

2021-02-18 22:07:14 | [Mutex] received everything.

2021-02-18 22:07:14 | [Mutex] isItemNotified: user_regular75yep40202@test-domain.com:message:received:content_9enxox0206 :: true

2021-02-18 22:07:14 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-02-18 22:07:14 | [Mutex] received everything.

2021-02-18 22:07:14 | [Mutex] isItemNotified: node_hjcny20203:subscribe_node:success :: true

2021-02-18 22:07:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 22:07:14 | command: <data><node>node_hjcny20203</node><expire-at>2021-02-19T06:07:19Z</expire-at><entry><content>content_ugb9w60207</content></entry></data>

2021-02-18 22:07:14 | target: http://localhost:8088

2021-02-18 22:07:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-18 22:07:14 | entity: <data><node>node_hjcny20203</node><expire-at>2021-02-19T06:07:19Z</expire-at><entry><content>content_ugb9w60207</content></entry></data>

2021-02-18 22:07:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:07:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 22:07:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0eb10626-df57-498d-a1cb-c3182c2c51b3</value></item-id></result>

2021-02-18 22:07:14 | contains: true

2021-02-18 22:07:22 | [Mutex] waiting for: [user_regular75yep40202@test-domain.com:message:received:content_ugb9w60207]

2021-02-18 22:07:22 | [Mutex] waiting for: [user_regular75yep40202@test-domain.com:message:received:content_ugb9w60207]

2021-02-18 22:07:22 | [Mutex] waiting for: [user_regular75yep40202@test-domain.com:message:received:content_ugb9w60207]

2021-02-18 22:07:37 | [Mutex] timeout. Not received [user_regular75yep40202@test-domain.com:message:received:content_ugb9w60207]

2021-02-18 22:07:37 | [Mutex] received everything.

2021-02-18 22:07:37 | [Mutex] isItemNotified: user_regular75yep40202@test-domain.com:message:received:content_ugb9w60207 :: false

2021-02-18 22:07:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ugb9w60207 :: true