Generated by TestNG with ReportNG at 21:47 PST on Sunday 17 January 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.830s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.770s
2021-01-17 22:02:48 |

2021-01-17 22:02:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-17 22:02:48 | ------------------------------------

2021-01-17 22:02:48 | [Mutex] isItemNotified: node_2r32w00203:exists :: false

2021-01-17 22:02:48 | [Mutex] waiting for: [node_2r32w00203:create_node]

2021-01-17 22:02:48 | [Mutex] received everything.

2021-01-17 22:02:48 | [Mutex] isItemNotified: node_2r32w00203:create_node:success :: true

2021-01-17 22:02:48 | [Mutex] waiting for: [node_2r32w00203:subscribe_node]

2021-01-17 22:02:48 | [Mutex] waiting for: [node_2r32w00203:subscribe_node]

2021-01-17 22:02:48 | [Mutex] received everything.

2021-01-17 22:02:48 | [Mutex] isItemNotified: node_2r32w00203:subscribe_node:success :: true

2021-01-17 22:02:48 |


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


2021-01-17 22:02:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 22:02:48 | command: <data><node>node_2r32w00203</node><entry><content>content_tky6m80204</content></entry></data>

2021-01-17 22:02:48 | target: http://localhost:8088

2021-01-17 22:02:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 22:02:48 | entity: <data><node>node_2r32w00203</node><entry><content>content_tky6m80204</content></entry></data>

2021-01-17 22:02:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:02:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 22:02:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>446f5b69-65ca-4955-8dd3-e5026eb18f49</value></item-id></result>

2021-01-17 22:02:48 | contains: true

2021-01-17 22:02:48 | [Mutex] received everything.

2021-01-17 22:02:48 | [Mutex] isItemNotified: user_regularfhpzg60202@test-domain.com:message:received:content_tky6m80204 :: true

2021-01-17 22:02:48 |


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


2021-01-17 22:02:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 22:02:48 | command: <data><node>node_2r32w00203</node><expire-at>2021-01-18T06:02:43Z</expire-at><entry><content>content_oyn6mi0205</content></entry></data>

2021-01-17 22:02:48 | target: http://localhost:8088

2021-01-17 22:02:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 22:02:48 | entity: <data><node>node_2r32w00203</node><expire-at>2021-01-18T06:02:43Z</expire-at><entry><content>content_oyn6mi0205</content></entry></data>

2021-01-17 22:02:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:02:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 22:02:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd43e2aa-60f3-4adb-945e-7a34c1c21fbf</value></item-id></result>

2021-01-17 22:02:48 | contains: true

2021-01-17 22:02:48 | [Mutex] waiting for: [user_regularfhpzg60202@test-domain.com:message:received:content_oyn6mi0205]

2021-01-17 22:03:03 | [Mutex] timeout. Not received [user_regularfhpzg60202@test-domain.com:message:received:content_oyn6mi0205]

2021-01-17 22:03:03 | [Mutex] isItemNotified: user_regularfhpzg60202@test-domain.com:message:received:content_oyn6mi0205 :: false

2021-01-17 22:03:03 |


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


2021-01-17 22:03:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 22:03:03 | command: <data><node>node_2r32w00203</node><entry><content>content_r44ybe0206</content></entry></data>

2021-01-17 22:03:03 | target: http://localhost:8088

2021-01-17 22:03:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 22:03:03 | entity: <data><node>node_2r32w00203</node><entry><content>content_r44ybe0206</content></entry></data>

2021-01-17 22:03:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:03:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 22:03:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d466d901-57bf-4e4d-8644-94e9f5a988d7</value></item-id></result>

2021-01-17 22:03:03 | contains: true

2021-01-17 22:03:08 | [Mutex] waiting for: [user_regularfhpzg60202@test-domain.com:message:received:content_r44ybe0206]

2021-01-17 22:03:08 | [Mutex] received everything.

2021-01-17 22:03:08 | [Mutex] isItemNotified: user_regularfhpzg60202@test-domain.com:message:received:content_r44ybe0206 :: true

2021-01-17 22:03:08 |


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


2021-01-17 22:03:08 | [Mutex] received everything.

2021-01-17 22:03:08 | [Mutex] isItemNotified: node_2r32w00203:subscribe_node:success :: true

2021-01-17 22:03:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 22:03:08 | command: <data><node>node_2r32w00203</node><expire-at>2021-01-18T06:03:13Z</expire-at><entry><content>content_cg91vd0207</content></entry></data>

2021-01-17 22:03:08 | target: http://localhost:8088

2021-01-17 22:03:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 22:03:08 | entity: <data><node>node_2r32w00203</node><expire-at>2021-01-18T06:03:13Z</expire-at><entry><content>content_cg91vd0207</content></entry></data>

2021-01-17 22:03:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:03:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 22:03:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>29668972-270b-40b0-8d7f-94bb7f0bebfd</value></item-id></result>

2021-01-17 22:03:08 | contains: true

2021-01-17 22:03:16 | [Mutex] waiting for: [user_regularfhpzg60202@test-domain.com:message:received:content_cg91vd0207]

2021-01-17 22:03:16 | [Mutex] waiting for: [user_regularfhpzg60202@test-domain.com:message:received:content_cg91vd0207]

2021-01-17 22:03:31 | [Mutex] timeout. Not received [user_regularfhpzg60202@test-domain.com:message:received:content_cg91vd0207]

2021-01-17 22:03:31 | [Mutex] received everything.

2021-01-17 22:03:31 | [Mutex] isItemNotified: user_regularfhpzg60202@test-domain.com:message:received:content_cg91vd0207 :: false

2021-01-17 22:03:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cg91vd0207 :: true