Generated by TestNG with ReportNG at 23:02 PDT on Wednesday 02 September 2020
root@aaf3988fc7fc / 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.180s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.760s
2020-09-02 23:17:27 |

2020-09-02 23:17:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-02 23:17:27 | ------------------------------------

2020-09-02 23:17:27 | [Mutex] isItemNotified: node_l58s7m0203:exists :: false

2020-09-02 23:17:27 | [Mutex] waiting for: [node_l58s7m0203:create_node]

2020-09-02 23:17:27 | [Mutex] received everything.

2020-09-02 23:17:27 | [Mutex] isItemNotified: node_l58s7m0203:create_node:success :: true

2020-09-02 23:17:27 | [Mutex] waiting for: [node_l58s7m0203:subscribe_node]

2020-09-02 23:17:27 | [Mutex] waiting for: [node_l58s7m0203:subscribe_node]

2020-09-02 23:17:27 | [Mutex] received everything.

2020-09-02 23:17:27 | [Mutex] isItemNotified: node_l58s7m0203:subscribe_node:success :: true

2020-09-02 23:17:27 |


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


2020-09-02 23:17:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 23:17:27 | command: <data><node>node_l58s7m0203</node><entry><content>content_ht5u9t0204</content></entry></data>

2020-09-02 23:17:27 | target: http://localhost:8088

2020-09-02 23:17:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-02 23:17:27 | entity: <data><node>node_l58s7m0203</node><entry><content>content_ht5u9t0204</content></entry></data>

2020-09-02 23:17:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:17:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:17:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3553bf94-240c-486d-8d81-ccb5817dd45d</value></item-id></result>

2020-09-02 23:17:27 | contains: true

2020-09-02 23:17:27 | [Mutex] waiting for: [user_regularosv6kp0202@test-domain.com:message:received:content_ht5u9t0204]

2020-09-02 23:17:27 | [Mutex] received everything.

2020-09-02 23:17:27 | [Mutex] isItemNotified: user_regularosv6kp0202@test-domain.com:message:received:content_ht5u9t0204 :: true

2020-09-02 23:17:27 |


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


2020-09-02 23:17:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 23:17:27 | command: <data><node>node_l58s7m0203</node><expire-at>2020-09-03T06:17:22Z</expire-at><entry><content>content_ixw6z80205</content></entry></data>

2020-09-02 23:17:27 | target: http://localhost:8088

2020-09-02 23:17:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-02 23:17:27 | entity: <data><node>node_l58s7m0203</node><expire-at>2020-09-03T06:17:22Z</expire-at><entry><content>content_ixw6z80205</content></entry></data>

2020-09-02 23:17:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:17:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:17:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>75a99ab4-fede-4e34-b460-e1941076df33</value></item-id></result>

2020-09-02 23:17:27 | contains: true

2020-09-02 23:17:27 | [Mutex] waiting for: [user_regularosv6kp0202@test-domain.com:message:received:content_ixw6z80205]

2020-09-02 23:17:42 | [Mutex] timeout. Not received [user_regularosv6kp0202@test-domain.com:message:received:content_ixw6z80205]

2020-09-02 23:17:42 | [Mutex] isItemNotified: user_regularosv6kp0202@test-domain.com:message:received:content_ixw6z80205 :: false

2020-09-02 23:17:42 |


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


2020-09-02 23:17:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 23:17:42 | command: <data><node>node_l58s7m0203</node><entry><content>content_bagazn0206</content></entry></data>

2020-09-02 23:17:42 | target: http://localhost:8088

2020-09-02 23:17:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-02 23:17:42 | entity: <data><node>node_l58s7m0203</node><entry><content>content_bagazn0206</content></entry></data>

2020-09-02 23:17:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:17:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:17:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b259f681-95c4-4b46-9509-d465d8464bd0</value></item-id></result>

2020-09-02 23:17:42 | contains: true

2020-09-02 23:17:47 | [Mutex] waiting for: [user_regularosv6kp0202@test-domain.com:message:received:content_bagazn0206]

2020-09-02 23:17:47 | [Mutex] received everything.

2020-09-02 23:17:47 | [Mutex] isItemNotified: user_regularosv6kp0202@test-domain.com:message:received:content_bagazn0206 :: true

2020-09-02 23:17:47 |


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


2020-09-02 23:17:47 | [Mutex] received everything.

2020-09-02 23:17:47 | [Mutex] isItemNotified: node_l58s7m0203:subscribe_node:success :: true

2020-09-02 23:17:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 23:17:47 | command: <data><node>node_l58s7m0203</node><expire-at>2020-09-03T06:17:52Z</expire-at><entry><content>content_jv79890207</content></entry></data>

2020-09-02 23:17:47 | target: http://localhost:8088

2020-09-02 23:17:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-02 23:17:47 | entity: <data><node>node_l58s7m0203</node><expire-at>2020-09-03T06:17:52Z</expire-at><entry><content>content_jv79890207</content></entry></data>

2020-09-02 23:17:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:17:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:17:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2c316935-1550-45ab-8ad9-b8375b7beba5</value></item-id></result>

2020-09-02 23:17:48 | contains: true

2020-09-02 23:17:56 | [Mutex] waiting for: [user_regularosv6kp0202@test-domain.com:message:received:content_jv79890207]

2020-09-02 23:17:56 | [Mutex] waiting for: [user_regularosv6kp0202@test-domain.com:message:received:content_jv79890207]

2020-09-02 23:17:56 | [Mutex] waiting for: [user_regularosv6kp0202@test-domain.com:message:received:content_jv79890207]

2020-09-02 23:18:11 | [Mutex] timeout. Not received [user_regularosv6kp0202@test-domain.com:message:received:content_jv79890207]

2020-09-02 23:18:11 | [Mutex] received everything.

2020-09-02 23:18:11 | [Mutex] isItemNotified: user_regularosv6kp0202@test-domain.com:message:received:content_jv79890207 :: false

2020-09-02 23:18:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jv79890207 :: true