Generated by TestNG with ReportNG at 21:14 PST on Tuesday 29 December 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.356s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.733s
2020-12-29 21:28:14 |

2020-12-29 21:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-29 21:28:14 | ------------------------------------

2020-12-29 21:28:14 | [Mutex] isItemNotified: node_ya965l0203:exists :: false

2020-12-29 21:28:14 | [Mutex] waiting for: [node_ya965l0203:create_node]

2020-12-29 21:28:14 | [Mutex] received everything.

2020-12-29 21:28:14 | [Mutex] isItemNotified: node_ya965l0203:create_node:success :: true

2020-12-29 21:28:14 | [Mutex] waiting for: [node_ya965l0203:subscribe_node]

2020-12-29 21:28:14 | [Mutex] received everything.

2020-12-29 21:28:14 | [Mutex] isItemNotified: node_ya965l0203:subscribe_node:success :: true

2020-12-29 21:28:14 |


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


2020-12-29 21:28:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:28:14 | command: <data><node>node_ya965l0203</node><entry><content>content_ia9gd00204</content></entry></data>

2020-12-29 21:28:14 | target: http://localhost:8088

2020-12-29 21:28:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-29 21:28:14 | entity: <data><node>node_ya965l0203</node><entry><content>content_ia9gd00204</content></entry></data>

2020-12-29 21:28:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:28:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:28:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c04b5e43-074a-45fb-8407-c9f40e463203</value></item-id></result>

2020-12-29 21:28:14 | contains: true

2020-12-29 21:28:14 | [Mutex] received everything.

2020-12-29 21:28:14 | [Mutex] isItemNotified: user_regularot9mk20202@test-domain.com:message:received:content_ia9gd00204 :: true

2020-12-29 21:28:14 |


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


2020-12-29 21:28:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:28:14 | command: <data><node>node_ya965l0203</node><expire-at>2020-12-30T05:28:09Z</expire-at><entry><content>content_y06kg40205</content></entry></data>

2020-12-29 21:28:14 | target: http://localhost:8088

2020-12-29 21:28:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-29 21:28:14 | entity: <data><node>node_ya965l0203</node><expire-at>2020-12-30T05:28:09Z</expire-at><entry><content>content_y06kg40205</content></entry></data>

2020-12-29 21:28:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:28:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:28:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27012341-40ab-4d66-bc2e-6af6b2c8fc0b</value></item-id></result>

2020-12-29 21:28:14 | contains: true

2020-12-29 21:28:14 | [Mutex] waiting for: [user_regularot9mk20202@test-domain.com:message:received:content_y06kg40205]

2020-12-29 21:28:29 | [Mutex] timeout. Not received [user_regularot9mk20202@test-domain.com:message:received:content_y06kg40205]

2020-12-29 21:28:29 | [Mutex] isItemNotified: user_regularot9mk20202@test-domain.com:message:received:content_y06kg40205 :: false

2020-12-29 21:28:29 |


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


2020-12-29 21:28:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:28:29 | command: <data><node>node_ya965l0203</node><entry><content>content_usvpff0206</content></entry></data>

2020-12-29 21:28:29 | target: http://localhost:8088

2020-12-29 21:28:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-29 21:28:29 | entity: <data><node>node_ya965l0203</node><entry><content>content_usvpff0206</content></entry></data>

2020-12-29 21:28:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:28:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:28:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>782d0010-db44-4129-bb9d-8ad50725d322</value></item-id></result>

2020-12-29 21:28:29 | contains: true

2020-12-29 21:28:34 | [Mutex] waiting for: [user_regularot9mk20202@test-domain.com:message:received:content_usvpff0206]

2020-12-29 21:28:34 | [Mutex] waiting for: [user_regularot9mk20202@test-domain.com:message:received:content_usvpff0206]

2020-12-29 21:28:34 | [Mutex] received everything.

2020-12-29 21:28:34 | [Mutex] isItemNotified: user_regularot9mk20202@test-domain.com:message:received:content_usvpff0206 :: true

2020-12-29 21:28:34 |


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


2020-12-29 21:28:34 | [Mutex] received everything.

2020-12-29 21:28:34 | [Mutex] isItemNotified: node_ya965l0203:subscribe_node:success :: true

2020-12-29 21:28:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:28:34 | command: <data><node>node_ya965l0203</node><expire-at>2020-12-30T05:28:39Z</expire-at><entry><content>content_c1uf4l0207</content></entry></data>

2020-12-29 21:28:34 | target: http://localhost:8088

2020-12-29 21:28:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-29 21:28:34 | entity: <data><node>node_ya965l0203</node><expire-at>2020-12-30T05:28:39Z</expire-at><entry><content>content_c1uf4l0207</content></entry></data>

2020-12-29 21:28:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:28:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:28:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>14263452-1625-4d0c-b09d-35a8beb68abb</value></item-id></result>

2020-12-29 21:28:34 | contains: true

2020-12-29 21:28:43 | [Mutex] waiting for: [user_regularot9mk20202@test-domain.com:message:received:content_c1uf4l0207]

2020-12-29 21:28:58 | [Mutex] timeout. Not received [user_regularot9mk20202@test-domain.com:message:received:content_c1uf4l0207]

2020-12-29 21:28:58 | [Mutex] received everything.

2020-12-29 21:28:58 | [Mutex] isItemNotified: user_regularot9mk20202@test-domain.com:message:received:content_c1uf4l0207 :: false

2020-12-29 21:28:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c1uf4l0207 :: true