Generated by TestNG with ReportNG at 11:32 PDT on Wednesday 07 April 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 : 46.040s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.815s
2021-04-07 11:51:07 |

2021-04-07 11:51:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-07 11:51:07 | ------------------------------------

2021-04-07 11:51:07 | [Mutex] isItemNotified: node_8p4n0p0203:exists :: false

2021-04-07 11:51:07 | [Mutex] waiting for: [node_8p4n0p0203:create_node]

2021-04-07 11:51:07 | [Mutex] received everything.

2021-04-07 11:51:07 | [Mutex] isItemNotified: node_8p4n0p0203:create_node:success :: true

2021-04-07 11:51:08 | [Mutex] waiting for: [node_8p4n0p0203:subscribe_node]

2021-04-07 11:51:08 | [Mutex] received everything.

2021-04-07 11:51:08 | [Mutex] isItemNotified: node_8p4n0p0203:subscribe_node:success :: true

2021-04-07 11:51:08 |


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


2021-04-07 11:51:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 11:51:08 | command: <data><node>node_8p4n0p0203</node><entry><content>content_jnowpb0204</content></entry></data>

2021-04-07 11:51:08 | target: http://localhost:8088

2021-04-07 11:51:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-07 11:51:08 | entity: <data><node>node_8p4n0p0203</node><entry><content>content_jnowpb0204</content></entry></data>

2021-04-07 11:51:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:51:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 11:51:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f8040100-5ba5-4d67-bfff-d5ddea009922</value></item-id></result>

2021-04-07 11:51:08 | contains: true

2021-04-07 11:51:08 | [Mutex] received everything.

2021-04-07 11:51:08 | [Mutex] isItemNotified: user_regularx7l67e0202@test-domain.com:message:received:content_jnowpb0204 :: true

2021-04-07 11:51:08 |


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


2021-04-07 11:51:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 11:51:08 | command: <data><node>node_8p4n0p0203</node><expire-at>2021-04-07T18:51:03Z</expire-at><entry><content>content_kmyaal0205</content></entry></data>

2021-04-07 11:51:08 | target: http://localhost:8088

2021-04-07 11:51:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-07 11:51:08 | entity: <data><node>node_8p4n0p0203</node><expire-at>2021-04-07T18:51:03Z</expire-at><entry><content>content_kmyaal0205</content></entry></data>

2021-04-07 11:51:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:51:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 11:51:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e7ee42ec-0f4e-4cd2-a761-d7d587e3dc28</value></item-id></result>

2021-04-07 11:51:08 | contains: true

2021-04-07 11:51:08 | [Mutex] waiting for: [user_regularx7l67e0202@test-domain.com:message:received:content_kmyaal0205]

2021-04-07 11:51:23 | [Mutex] timeout. Not received [user_regularx7l67e0202@test-domain.com:message:received:content_kmyaal0205]

2021-04-07 11:51:23 | [Mutex] isItemNotified: user_regularx7l67e0202@test-domain.com:message:received:content_kmyaal0205 :: false

2021-04-07 11:51:23 |


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


2021-04-07 11:51:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 11:51:23 | command: <data><node>node_8p4n0p0203</node><entry><content>content_8m8vn10206</content></entry></data>

2021-04-07 11:51:23 | target: http://localhost:8088

2021-04-07 11:51:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-07 11:51:23 | entity: <data><node>node_8p4n0p0203</node><entry><content>content_8m8vn10206</content></entry></data>

2021-04-07 11:51:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:51:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 11:51:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4e338a5d-1a49-469d-bfdd-9f7ca5dbfaaa</value></item-id></result>

2021-04-07 11:51:23 | contains: true

2021-04-07 11:51:28 | [Mutex] waiting for: [user_regularx7l67e0202@test-domain.com:message:received:content_8m8vn10206]

2021-04-07 11:51:28 | [Mutex] received everything.

2021-04-07 11:51:28 | [Mutex] isItemNotified: user_regularx7l67e0202@test-domain.com:message:received:content_8m8vn10206 :: true

2021-04-07 11:51:28 |


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


2021-04-07 11:51:28 | [Mutex] received everything.

2021-04-07 11:51:28 | [Mutex] isItemNotified: node_8p4n0p0203:subscribe_node:success :: true

2021-04-07 11:51:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 11:51:28 | command: <data><node>node_8p4n0p0203</node><expire-at>2021-04-07T18:51:33Z</expire-at><entry><content>content_ixqa870207</content></entry></data>

2021-04-07 11:51:28 | target: http://localhost:8088

2021-04-07 11:51:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-07 11:51:28 | entity: <data><node>node_8p4n0p0203</node><expire-at>2021-04-07T18:51:33Z</expire-at><entry><content>content_ixqa870207</content></entry></data>

2021-04-07 11:51:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:51:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 11:51:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f7209764-0d5d-4173-a08d-f3b8983348ff</value></item-id></result>

2021-04-07 11:51:28 | contains: true

2021-04-07 11:51:36 | [Mutex] waiting for: [user_regularx7l67e0202@test-domain.com:message:received:content_ixqa870207]

2021-04-07 11:51:36 | [Mutex] waiting for: [user_regularx7l67e0202@test-domain.com:message:received:content_ixqa870207]

2021-04-07 11:51:51 | [Mutex] timeout. Not received [user_regularx7l67e0202@test-domain.com:message:received:content_ixqa870207]

2021-04-07 11:51:51 | [Mutex] received everything.

2021-04-07 11:51:51 | [Mutex] isItemNotified: user_regularx7l67e0202@test-domain.com:message:received:content_ixqa870207 :: false

2021-04-07 11:51:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ixqa870207 :: true