Generated by TestNG with ReportNG at 21:45 PST on Sunday 14 February 2021
root@eaa73862192b / 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 : 46.652s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.737s
2021-02-14 22:01:11 |

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

2021-02-14 22:01:11 | ------------------------------------

2021-02-14 22:01:11 | [Mutex] isItemNotified: node_tkw6h10203:exists :: false

2021-02-14 22:01:11 | [Mutex] waiting for: [node_tkw6h10203:create_node]

2021-02-14 22:01:11 | [Mutex] received everything.

2021-02-14 22:01:11 | [Mutex] isItemNotified: node_tkw6h10203:create_node:success :: true

2021-02-14 22:01:11 | [Mutex] waiting for: [node_tkw6h10203:subscribe_node]

2021-02-14 22:01:11 | [Mutex] received everything.

2021-02-14 22:01:11 | [Mutex] isItemNotified: node_tkw6h10203:subscribe_node:success :: true

2021-02-14 22:01:11 |


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


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

2021-02-14 22:01:11 | command: <data><node>node_tkw6h10203</node><entry><content>content_a952vi0204</content></entry></data>

2021-02-14 22:01:11 | target: http://localhost:8088

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

2021-02-14 22:01:11 | entity: <data><node>node_tkw6h10203</node><entry><content>content_a952vi0204</content></entry></data>

2021-02-14 22:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 22:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>705c45da-9487-4ba9-9e56-8f90d1a06cd1</value></item-id></result>

2021-02-14 22:01:11 | contains: true

2021-02-14 22:01:11 | [Mutex] received everything.

2021-02-14 22:01:11 | [Mutex] isItemNotified: user_regularbe93sa0202@test-domain.com:message:received:content_a952vi0204 :: true

2021-02-14 22:01:11 |


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


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

2021-02-14 22:01:11 | command: <data><node>node_tkw6h10203</node><expire-at>2021-02-15T06:01:06Z</expire-at><entry><content>content_ylxqv30205</content></entry></data>

2021-02-14 22:01:11 | target: http://localhost:8088

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

2021-02-14 22:01:11 | entity: <data><node>node_tkw6h10203</node><expire-at>2021-02-15T06:01:06Z</expire-at><entry><content>content_ylxqv30205</content></entry></data>

2021-02-14 22:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 22:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96b92fad-4d94-4c7b-9e7e-ff6c1accda93</value></item-id></result>

2021-02-14 22:01:11 | contains: true

2021-02-14 22:01:11 | [Mutex] waiting for: [user_regularbe93sa0202@test-domain.com:message:received:content_ylxqv30205]

2021-02-14 22:01:26 | [Mutex] timeout. Not received [user_regularbe93sa0202@test-domain.com:message:received:content_ylxqv30205]

2021-02-14 22:01:26 | [Mutex] isItemNotified: user_regularbe93sa0202@test-domain.com:message:received:content_ylxqv30205 :: false

2021-02-14 22:01:26 |


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


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

2021-02-14 22:01:26 | command: <data><node>node_tkw6h10203</node><entry><content>content_7x9jzu0206</content></entry></data>

2021-02-14 22:01:26 | target: http://localhost:8088

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

2021-02-14 22:01:26 | entity: <data><node>node_tkw6h10203</node><entry><content>content_7x9jzu0206</content></entry></data>

2021-02-14 22:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 06:01:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 22:01:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fd0ab3e2-c85d-414c-b9db-59ea8e09b519</value></item-id></result>

2021-02-14 22:01:26 | contains: true

2021-02-14 22:01:31 | [Mutex] waiting for: [user_regularbe93sa0202@test-domain.com:message:received:content_7x9jzu0206]

2021-02-14 22:01:31 | [Mutex] waiting for: [user_regularbe93sa0202@test-domain.com:message:received:content_7x9jzu0206]

2021-02-14 22:01:31 | [Mutex] received everything.

2021-02-14 22:01:31 | [Mutex] isItemNotified: user_regularbe93sa0202@test-domain.com:message:received:content_7x9jzu0206 :: true

2021-02-14 22:01:31 |


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


2021-02-14 22:01:31 | [Mutex] received everything.

2021-02-14 22:01:31 | [Mutex] isItemNotified: node_tkw6h10203:subscribe_node:success :: true

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

2021-02-14 22:01:31 | command: <data><node>node_tkw6h10203</node><expire-at>2021-02-15T06:01:36Z</expire-at><entry><content>content_vlteoe0207</content></entry></data>

2021-02-14 22:01:31 | target: http://localhost:8088

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

2021-02-14 22:01:31 | entity: <data><node>node_tkw6h10203</node><expire-at>2021-02-15T06:01:36Z</expire-at><entry><content>content_vlteoe0207</content></entry></data>

2021-02-14 22:01:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 06:01:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 22:01:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f23b058a-76a0-42fd-9121-654124b6d060</value></item-id></result>

2021-02-14 22:01:31 | contains: true

2021-02-14 22:01:40 | [Mutex] waiting for: [user_regularbe93sa0202@test-domain.com:message:received:content_vlteoe0207]

2021-02-14 22:01:55 | [Mutex] timeout. Not received [user_regularbe93sa0202@test-domain.com:message:received:content_vlteoe0207]

2021-02-14 22:01:55 | [Mutex] received everything.

2021-02-14 22:01:55 | [Mutex] isItemNotified: user_regularbe93sa0202@test-domain.com:message:received:content_vlteoe0207 :: false

2021-02-14 22:01:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vlteoe0207 :: true