Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 12 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.721s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.541s
2022-07-12 22:33:21 |

2022-07-12 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 22:33:21 | ------------------------------------

2022-07-12 22:33:21 | [Mutex] isItemNotified: node_xzl6fn0204:exists :: false

2022-07-12 22:33:21 | [Mutex] waiting for: [node_xzl6fn0204:create_node]

2022-07-12 22:33:21 | [Mutex] received everything.

2022-07-12 22:33:21 | [Mutex] isItemNotified: node_xzl6fn0204:create_node:success :: true

2022-07-12 22:33:21 | [Mutex] waiting for: [node_xzl6fn0204:subscribe_node]

2022-07-12 22:33:21 | [Mutex] waiting for: [node_xzl6fn0204:subscribe_node]

2022-07-12 22:33:21 | [Mutex] received everything.

2022-07-12 22:33:21 | [Mutex] isItemNotified: node_xzl6fn0204:subscribe_node:success :: true

2022-07-12 22:33:21 |


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


2022-07-12 22:33:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:33:21 | command: <data><node>node_xzl6fn0204</node><entry><content>content_nx4vg70205</content></entry></data>

2022-07-12 22:33:21 | target: http://localhost:8088

2022-07-12 22:33:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 22:33:21 | entity: <data><node>node_xzl6fn0204</node><entry><content>content_nx4vg70205</content></entry></data>

2022-07-12 22:33:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:33:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:33:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b86dd7fb-e249-4f17-bd32-7ad6e6fb18f5</value></item-id></result>

2022-07-12 22:33:21 | contains: true

2022-07-12 22:33:21 | [Mutex] received everything.

2022-07-12 22:33:21 | [Mutex] isItemNotified: user_regular4s680z0203@test-domain.com:message:received:content_nx4vg70205 :: true

2022-07-12 22:33:21 |


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


2022-07-12 22:33:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:33:21 | command: <data><node>node_xzl6fn0204</node><expire-at>2022-07-13T05:33:16Z</expire-at><entry><content>content_iyxhs20206</content></entry></data>

2022-07-12 22:33:21 | target: http://localhost:8088

2022-07-12 22:33:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 22:33:21 | entity: <data><node>node_xzl6fn0204</node><expire-at>2022-07-13T05:33:16Z</expire-at><entry><content>content_iyxhs20206</content></entry></data>

2022-07-12 22:33:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:33:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:33:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>56e26d5a-f27a-4375-9fbf-75ea2887a930</value></item-id></result>

2022-07-12 22:33:21 | contains: true

2022-07-12 22:33:21 | [Mutex] waiting for: [user_regular4s680z0203@test-domain.com:message:received:content_iyxhs20206]

2022-07-12 22:33:36 | [Mutex] timeout. Not received [user_regular4s680z0203@test-domain.com:message:received:content_iyxhs20206]

2022-07-12 22:33:36 | [Mutex] isItemNotified: user_regular4s680z0203@test-domain.com:message:received:content_iyxhs20206 :: false

2022-07-12 22:33:36 |


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


2022-07-12 22:33:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:33:36 | command: <data><node>node_xzl6fn0204</node><entry><content>content_qe93jq0207</content></entry></data>

2022-07-12 22:33:36 | target: http://localhost:8088

2022-07-12 22:33:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 22:33:36 | entity: <data><node>node_xzl6fn0204</node><entry><content>content_qe93jq0207</content></entry></data>

2022-07-12 22:33:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:33:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:33:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c86a8ae0-5177-4084-aea9-4549f4e411c3</value></item-id></result>

2022-07-12 22:33:36 | contains: true

2022-07-12 22:33:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 22:33:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 22:33:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 22:33:41 | [Mutex] waiting for: [user_regular4s680z0203@test-domain.com:message:received:content_qe93jq0207]

2022-07-12 22:33:41 | [Mutex] received everything.

2022-07-12 22:33:41 | [Mutex] isItemNotified: user_regular4s680z0203@test-domain.com:message:received:content_qe93jq0207 :: true

2022-07-12 22:33:41 |


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


2022-07-12 22:33:41 | [Mutex] received everything.

2022-07-12 22:33:41 | [Mutex] isItemNotified: node_xzl6fn0204:subscribe_node:success :: true

2022-07-12 22:33:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:33:41 | command: <data><node>node_xzl6fn0204</node><expire-at>2022-07-13T05:33:46Z</expire-at><entry><content>content_gfffyq0208</content></entry></data>

2022-07-12 22:33:41 | target: http://localhost:8088

2022-07-12 22:33:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 22:33:41 | entity: <data><node>node_xzl6fn0204</node><expire-at>2022-07-13T05:33:46Z</expire-at><entry><content>content_gfffyq0208</content></entry></data>

2022-07-12 22:33:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:33:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:33:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e60cf83a-5d3b-4e71-93ca-df53a86101f9</value></item-id></result>

2022-07-12 22:33:41 | contains: true

2022-07-12 22:33:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 22:33:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 22:33:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 22:33:49 | [Mutex] waiting for: [user_regular4s680z0203@test-domain.com:message:received:content_gfffyq0208]

2022-07-12 22:34:04 | [Mutex] timeout. Not received [user_regular4s680z0203@test-domain.com:message:received:content_gfffyq0208]

2022-07-12 22:34:04 | [Mutex] received everything.

2022-07-12 22:34:04 | [Mutex] isItemNotified: user_regular4s680z0203@test-domain.com:message:received:content_gfffyq0208 :: false

2022-07-12 22:34:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gfffyq0208 :: true