Generated by TestNG with ReportNG at 23:19 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.086s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.677s
2020-09-18 23:36:41 |

2020-09-18 23:36:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-18 23:36:41 | ------------------------------------

2020-09-18 23:36:41 | [Mutex] isItemNotified: node_hewwcp0203:exists :: false

2020-09-18 23:36:41 | [Mutex] waiting for: [node_hewwcp0203:create_node]

2020-09-18 23:36:41 | [Mutex] received everything.

2020-09-18 23:36:41 | [Mutex] isItemNotified: node_hewwcp0203:create_node:success :: true

2020-09-18 23:36:41 | [Mutex] waiting for: [node_hewwcp0203:subscribe_node]

2020-09-18 23:36:41 | [Mutex] waiting for: [node_hewwcp0203:subscribe_node]

2020-09-18 23:36:41 | [Mutex] received everything.

2020-09-18 23:36:41 | [Mutex] isItemNotified: node_hewwcp0203:subscribe_node:success :: true

2020-09-18 23:36:41 |


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


2020-09-18 23:36:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:36:41 | command: <data><node>node_hewwcp0203</node><entry><content>content_o0ji6u0204</content></entry></data>

2020-09-18 23:36:41 | target: http://localhost:8088

2020-09-18 23:36:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 23:36:41 | entity: <data><node>node_hewwcp0203</node><entry><content>content_o0ji6u0204</content></entry></data>

2020-09-18 23:36:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:36:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:36:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>62df0c22-0209-496b-be1c-88e0a16de4c7</value></item-id></result>

2020-09-18 23:36:41 | contains: true

2020-09-18 23:36:41 | [Mutex] received everything.

2020-09-18 23:36:41 | [Mutex] isItemNotified: user_regularmaeu540202@test-domain.com:message:received:content_o0ji6u0204 :: true

2020-09-18 23:36:41 |


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


2020-09-18 23:36:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:36:41 | command: <data><node>node_hewwcp0203</node><expire-at>2020-09-19T06:36:36Z</expire-at><entry><content>content_8nv4xx0205</content></entry></data>

2020-09-18 23:36:41 | target: http://localhost:8088

2020-09-18 23:36:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 23:36:41 | entity: <data><node>node_hewwcp0203</node><expire-at>2020-09-19T06:36:36Z</expire-at><entry><content>content_8nv4xx0205</content></entry></data>

2020-09-18 23:36:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:36:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:36:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b205647d-d98f-44d6-8f03-e9f9d24cd4e6</value></item-id></result>

2020-09-18 23:36:41 | contains: true

2020-09-18 23:36:41 | [Mutex] waiting for: [user_regularmaeu540202@test-domain.com:message:received:content_8nv4xx0205]

2020-09-18 23:36:56 | [Mutex] timeout. Not received [user_regularmaeu540202@test-domain.com:message:received:content_8nv4xx0205]

2020-09-18 23:36:56 | [Mutex] isItemNotified: user_regularmaeu540202@test-domain.com:message:received:content_8nv4xx0205 :: false

2020-09-18 23:36:56 |


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


2020-09-18 23:36:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:36:56 | command: <data><node>node_hewwcp0203</node><entry><content>content_tl6h3w0206</content></entry></data>

2020-09-18 23:36:56 | target: http://localhost:8088

2020-09-18 23:36:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 23:36:56 | entity: <data><node>node_hewwcp0203</node><entry><content>content_tl6h3w0206</content></entry></data>

2020-09-18 23:36:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:36:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:36:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4073b9ee-d827-476e-9086-07ded17ce045</value></item-id></result>

2020-09-18 23:36:56 | contains: true

2020-09-18 23:37:01 | [Mutex] waiting for: [user_regularmaeu540202@test-domain.com:message:received:content_tl6h3w0206]

2020-09-18 23:37:01 | [Mutex] received everything.

2020-09-18 23:37:01 | [Mutex] isItemNotified: user_regularmaeu540202@test-domain.com:message:received:content_tl6h3w0206 :: true

2020-09-18 23:37:01 |


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


2020-09-18 23:37:01 | [Mutex] received everything.

2020-09-18 23:37:01 | [Mutex] isItemNotified: node_hewwcp0203:subscribe_node:success :: true

2020-09-18 23:37:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:37:01 | command: <data><node>node_hewwcp0203</node><expire-at>2020-09-19T06:37:06Z</expire-at><entry><content>content_6c519q0207</content></entry></data>

2020-09-18 23:37:01 | target: http://localhost:8088

2020-09-18 23:37:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 23:37:01 | entity: <data><node>node_hewwcp0203</node><expire-at>2020-09-19T06:37:06Z</expire-at><entry><content>content_6c519q0207</content></entry></data>

2020-09-18 23:37:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:37:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:37:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a180ea98-ed77-43f1-a572-5d3667885890</value></item-id></result>

2020-09-18 23:37:01 | contains: true

2020-09-18 23:37:09 | [Mutex] waiting for: [user_regularmaeu540202@test-domain.com:message:received:content_6c519q0207]

2020-09-18 23:37:09 | [Mutex] waiting for: [user_regularmaeu540202@test-domain.com:message:received:content_6c519q0207]

2020-09-18 23:37:24 | [Mutex] timeout. Not received [user_regularmaeu540202@test-domain.com:message:received:content_6c519q0207]

2020-09-18 23:37:24 | [Mutex] received everything.

2020-09-18 23:37:24 | [Mutex] isItemNotified: user_regularmaeu540202@test-domain.com:message:received:content_6c519q0207 :: false

2020-09-18 23:37:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6c519q0207 :: true