Generated by TestNG with ReportNG at 22:25 PDT on Thursday 08 October 2020
root@43fec6d4badf / 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.808s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.753s
2020-10-08 22:42:16 |

2020-10-08 22:42:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-08 22:42:16 | ------------------------------------

2020-10-08 22:42:16 | [Mutex] isItemNotified: node_xl8ot30203:exists :: false

2020-10-08 22:42:16 | [Mutex] waiting for: [node_xl8ot30203:create_node]

2020-10-08 22:42:16 | [Mutex] received everything.

2020-10-08 22:42:16 | [Mutex] isItemNotified: node_xl8ot30203:create_node:success :: true

2020-10-08 22:42:16 | [Mutex] waiting for: [node_xl8ot30203:subscribe_node]

2020-10-08 22:42:16 | [Mutex] received everything.

2020-10-08 22:42:16 | [Mutex] isItemNotified: node_xl8ot30203:subscribe_node:success :: true

2020-10-08 22:42:16 |


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


2020-10-08 22:42:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-08 22:42:16 | command: <data><node>node_xl8ot30203</node><entry><content>content_24bop20204</content></entry></data>

2020-10-08 22:42:16 | target: http://localhost:8088

2020-10-08 22:42:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-08 22:42:16 | entity: <data><node>node_xl8ot30203</node><entry><content>content_24bop20204</content></entry></data>

2020-10-08 22:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:42:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:42:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff26f6b1-0850-4b3d-be15-e63eb05d61fc</value></item-id></result>

2020-10-08 22:42:16 | contains: true

2020-10-08 22:42:16 | [Mutex] waiting for: [user_regularaigq6r0202@test-domain.com:message:received:content_24bop20204]

2020-10-08 22:42:16 | [Mutex] received everything.

2020-10-08 22:42:16 | [Mutex] isItemNotified: user_regularaigq6r0202@test-domain.com:message:received:content_24bop20204 :: true

2020-10-08 22:42:16 |


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


2020-10-08 22:42:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-08 22:42:16 | command: <data><node>node_xl8ot30203</node><expire-at>2020-10-09T05:42:11Z</expire-at><entry><content>content_cc15qw0205</content></entry></data>

2020-10-08 22:42:16 | target: http://localhost:8088

2020-10-08 22:42:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-08 22:42:16 | entity: <data><node>node_xl8ot30203</node><expire-at>2020-10-09T05:42:11Z</expire-at><entry><content>content_cc15qw0205</content></entry></data>

2020-10-08 22:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:42:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:42:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>89de0243-7f63-47b7-9c8a-e09cb8846c9b</value></item-id></result>

2020-10-08 22:42:16 | contains: true

2020-10-08 22:42:16 | [Mutex] waiting for: [user_regularaigq6r0202@test-domain.com:message:received:content_cc15qw0205]

2020-10-08 22:42:31 | [Mutex] timeout. Not received [user_regularaigq6r0202@test-domain.com:message:received:content_cc15qw0205]

2020-10-08 22:42:31 | [Mutex] isItemNotified: user_regularaigq6r0202@test-domain.com:message:received:content_cc15qw0205 :: false

2020-10-08 22:42:31 |


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


2020-10-08 22:42:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-08 22:42:31 | command: <data><node>node_xl8ot30203</node><entry><content>content_3rmcwd0206</content></entry></data>

2020-10-08 22:42:31 | target: http://localhost:8088

2020-10-08 22:42:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-08 22:42:31 | entity: <data><node>node_xl8ot30203</node><entry><content>content_3rmcwd0206</content></entry></data>

2020-10-08 22:42:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:42:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:42:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>612c1b6e-0a54-4980-b0d8-fa4cb3ad4d97</value></item-id></result>

2020-10-08 22:42:31 | contains: true

2020-10-08 22:42:36 | [Mutex] waiting for: [user_regularaigq6r0202@test-domain.com:message:received:content_3rmcwd0206]

2020-10-08 22:42:36 | [Mutex] waiting for: [user_regularaigq6r0202@test-domain.com:message:received:content_3rmcwd0206]

2020-10-08 22:42:36 | [Mutex] received everything.

2020-10-08 22:42:36 | [Mutex] isItemNotified: user_regularaigq6r0202@test-domain.com:message:received:content_3rmcwd0206 :: true

2020-10-08 22:42:36 |


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


2020-10-08 22:42:36 | [Mutex] received everything.

2020-10-08 22:42:36 | [Mutex] isItemNotified: node_xl8ot30203:subscribe_node:success :: true

2020-10-08 22:42:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-08 22:42:36 | command: <data><node>node_xl8ot30203</node><expire-at>2020-10-09T05:42:41Z</expire-at><entry><content>content_c87ekf0207</content></entry></data>

2020-10-08 22:42:36 | target: http://localhost:8088

2020-10-08 22:42:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-08 22:42:36 | entity: <data><node>node_xl8ot30203</node><expire-at>2020-10-09T05:42:41Z</expire-at><entry><content>content_c87ekf0207</content></entry></data>

2020-10-08 22:42:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:42:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-08 22:42:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>34c8e71e-e53f-4adf-a43d-c621e41f3a7a</value></item-id></result>

2020-10-08 22:42:36 | contains: true

2020-10-08 22:42:44 | [Mutex] waiting for: [user_regularaigq6r0202@test-domain.com:message:received:content_c87ekf0207]

2020-10-08 22:42:59 | [Mutex] timeout. Not received [user_regularaigq6r0202@test-domain.com:message:received:content_c87ekf0207]

2020-10-08 22:42:59 | [Mutex] received everything.

2020-10-08 22:42:59 | [Mutex] isItemNotified: user_regularaigq6r0202@test-domain.com:message:received:content_c87ekf0207 :: false

2020-10-08 22:42:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c87ekf0207 :: true