Generated by TestNG with ReportNG at 23:01 PDT on Sunday 29 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 44.752s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.555s
2022-05-29 23:15:45 |

2022-05-29 23:15:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-29 23:15:45 | ------------------------------------

2022-05-29 23:15:45 | [Mutex] isItemNotified: node_y316ko0204:exists :: false

2022-05-29 23:15:45 | [Mutex] waiting for: [node_y316ko0204:create_node]

2022-05-29 23:15:45 | [Mutex] received everything.

2022-05-29 23:15:45 | [Mutex] isItemNotified: node_y316ko0204:create_node:success :: true

2022-05-29 23:15:45 | [Mutex] waiting for: [node_y316ko0204:subscribe_node]

2022-05-29 23:15:45 | [Mutex] waiting for: [node_y316ko0204:subscribe_node]

2022-05-29 23:15:45 | [Mutex] received everything.

2022-05-29 23:15:45 | [Mutex] isItemNotified: node_y316ko0204:subscribe_node:success :: true

2022-05-29 23:15:45 |


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


2022-05-29 23:15:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 23:15:45 | command: <data><node>node_y316ko0204</node><entry><content>content_9if5eo0205</content></entry></data>

2022-05-29 23:15:45 | target: http://localhost:8088

2022-05-29 23:15:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-29 23:15:45 | entity: <data><node>node_y316ko0204</node><entry><content>content_9if5eo0205</content></entry></data>

2022-05-29 23:15:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 06:15:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 23:15:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8eec3c6-ef4f-46f9-93b9-3cb7e54c63b6</value></item-id></result>

2022-05-29 23:15:45 | contains: true

2022-05-29 23:15:45 | [Mutex] received everything.

2022-05-29 23:15:45 | [Mutex] isItemNotified: user_regulary21zml0203@test-domain.com:message:received:content_9if5eo0205 :: true

2022-05-29 23:15:45 |


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


2022-05-29 23:15:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 23:15:45 | command: <data><node>node_y316ko0204</node><expire-at>2022-05-30T06:15:40Z</expire-at><entry><content>content_9je0g30206</content></entry></data>

2022-05-29 23:15:45 | target: http://localhost:8088

2022-05-29 23:15:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-29 23:15:45 | entity: <data><node>node_y316ko0204</node><expire-at>2022-05-30T06:15:40Z</expire-at><entry><content>content_9je0g30206</content></entry></data>

2022-05-29 23:15:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 06:15:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 23:15:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>134c3f69-f23b-4ca6-be63-622ba66f9569</value></item-id></result>

2022-05-29 23:15:45 | contains: true

2022-05-29 23:15:45 | [Mutex] waiting for: [user_regulary21zml0203@test-domain.com:message:received:content_9je0g30206]

2022-05-29 23:16:00 | [Mutex] timeout. Not received [user_regulary21zml0203@test-domain.com:message:received:content_9je0g30206]

2022-05-29 23:16:00 | [Mutex] isItemNotified: user_regulary21zml0203@test-domain.com:message:received:content_9je0g30206 :: false

2022-05-29 23:16:00 |


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


2022-05-29 23:16:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 23:16:00 | command: <data><node>node_y316ko0204</node><entry><content>content_no8r4t0207</content></entry></data>

2022-05-29 23:16:00 | target: http://localhost:8088

2022-05-29 23:16:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-29 23:16:00 | entity: <data><node>node_y316ko0204</node><entry><content>content_no8r4t0207</content></entry></data>

2022-05-29 23:16:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 06:16:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 23:16:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>743526b6-6cfd-449d-8525-c8c285575876</value></item-id></result>

2022-05-29 23:16:00 | contains: true

2022-05-29 23:16:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-29 23:16:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-29 23:16:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-29 23:16:06 | [Mutex] waiting for: [user_regulary21zml0203@test-domain.com:message:received:content_no8r4t0207]

2022-05-29 23:16:06 | [Mutex] received everything.

2022-05-29 23:16:06 | [Mutex] isItemNotified: user_regulary21zml0203@test-domain.com:message:received:content_no8r4t0207 :: true

2022-05-29 23:16:06 |


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


2022-05-29 23:16:06 | [Mutex] received everything.

2022-05-29 23:16:06 | [Mutex] isItemNotified: node_y316ko0204:subscribe_node:success :: true

2022-05-29 23:16:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 23:16:06 | command: <data><node>node_y316ko0204</node><expire-at>2022-05-30T06:16:11Z</expire-at><entry><content>content_rgrn1b0208</content></entry></data>

2022-05-29 23:16:06 | target: http://localhost:8088

2022-05-29 23:16:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-29 23:16:06 | entity: <data><node>node_y316ko0204</node><expire-at>2022-05-30T06:16:11Z</expire-at><entry><content>content_rgrn1b0208</content></entry></data>

2022-05-29 23:16:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 06:16:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 23:16:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e862914d-0ba2-41eb-889d-c4890200f3c9</value></item-id></result>

2022-05-29 23:16:06 | contains: true

2022-05-29 23:16:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-29 23:16:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-29 23:16:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-29 23:16:14 | [Mutex] waiting for: [user_regulary21zml0203@test-domain.com:message:received:content_rgrn1b0208]

2022-05-29 23:16:14 | [Mutex] waiting for: [user_regulary21zml0203@test-domain.com:message:received:content_rgrn1b0208]

2022-05-29 23:16:29 | [Mutex] timeout. Not received [user_regulary21zml0203@test-domain.com:message:received:content_rgrn1b0208]

2022-05-29 23:16:29 | [Mutex] received everything.

2022-05-29 23:16:29 | [Mutex] isItemNotified: user_regulary21zml0203@test-domain.com:message:received:content_rgrn1b0208 :: false

2022-05-29 23:16:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rgrn1b0208 :: true