Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 09 August 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 : 45.031s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.713s
2022-08-09 22:34:15 |

2022-08-09 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-09 22:34:15 | ------------------------------------

2022-08-09 22:34:15 | [Mutex] isItemNotified: node_yjx6js0204:exists :: false

2022-08-09 22:34:15 | [Mutex] waiting for: [node_yjx6js0204:create_node]

2022-08-09 22:34:15 | [Mutex] waiting for: [node_yjx6js0204:create_node]

2022-08-09 22:34:15 | [Mutex] received everything.

2022-08-09 22:34:15 | [Mutex] isItemNotified: node_yjx6js0204:create_node:success :: true

2022-08-09 22:34:15 | [Mutex] waiting for: [node_yjx6js0204:subscribe_node]

2022-08-09 22:34:15 | [Mutex] received everything.

2022-08-09 22:34:15 | [Mutex] isItemNotified: node_yjx6js0204:subscribe_node:success :: true

2022-08-09 22:34:15 |


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


2022-08-09 22:34:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:15 | command: <data><node>node_yjx6js0204</node><entry><content>content_r0jq580205</content></entry></data>

2022-08-09 22:34:15 | target: http://localhost:8088

2022-08-09 22:34:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-09 22:34:15 | entity: <data><node>node_yjx6js0204</node><entry><content>content_r0jq580205</content></entry></data>

2022-08-09 22:34:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>499a4a32-44dc-4339-9a97-d5599d853248</value></item-id></result>

2022-08-09 22:34:15 | contains: true

2022-08-09 22:34:15 | [Mutex] received everything.

2022-08-09 22:34:15 | [Mutex] isItemNotified: user_regularunu4qp0203@test-domain.com:message:received:content_r0jq580205 :: true

2022-08-09 22:34:15 |


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


2022-08-09 22:34:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:15 | command: <data><node>node_yjx6js0204</node><expire-at>2022-08-10T05:34:10Z</expire-at><entry><content>content_ljxu3o0206</content></entry></data>

2022-08-09 22:34:15 | target: http://localhost:8088

2022-08-09 22:34:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-09 22:34:15 | entity: <data><node>node_yjx6js0204</node><expire-at>2022-08-10T05:34:10Z</expire-at><entry><content>content_ljxu3o0206</content></entry></data>

2022-08-09 22:34:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e6f35796-fa83-49f0-bb94-c880816b7fe5</value></item-id></result>

2022-08-09 22:34:15 | contains: true

2022-08-09 22:34:15 | [Mutex] waiting for: [user_regularunu4qp0203@test-domain.com:message:received:content_ljxu3o0206]

2022-08-09 22:34:30 | [Mutex] timeout. Not received [user_regularunu4qp0203@test-domain.com:message:received:content_ljxu3o0206]

2022-08-09 22:34:30 | [Mutex] isItemNotified: user_regularunu4qp0203@test-domain.com:message:received:content_ljxu3o0206 :: false

2022-08-09 22:34:30 |


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


2022-08-09 22:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:30 | command: <data><node>node_yjx6js0204</node><entry><content>content_3wictk0207</content></entry></data>

2022-08-09 22:34:30 | target: http://localhost:8088

2022-08-09 22:34:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-09 22:34:30 | entity: <data><node>node_yjx6js0204</node><entry><content>content_3wictk0207</content></entry></data>

2022-08-09 22:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ed8ae50-80df-4497-babc-8e6a6e697740</value></item-id></result>

2022-08-09 22:34:30 | contains: true

2022-08-09 22:34:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-09 22:34:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-09 22:34:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-09 22:34:35 | [Mutex] waiting for: [user_regularunu4qp0203@test-domain.com:message:received:content_3wictk0207]

2022-08-09 22:34:35 | [Mutex] received everything.

2022-08-09 22:34:35 | [Mutex] isItemNotified: user_regularunu4qp0203@test-domain.com:message:received:content_3wictk0207 :: true

2022-08-09 22:34:35 |


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


2022-08-09 22:34:35 | [Mutex] received everything.

2022-08-09 22:34:35 | [Mutex] isItemNotified: node_yjx6js0204:subscribe_node:success :: true

2022-08-09 22:34:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:35 | command: <data><node>node_yjx6js0204</node><expire-at>2022-08-10T05:34:40Z</expire-at><entry><content>content_bxizio0208</content></entry></data>

2022-08-09 22:34:35 | target: http://localhost:8088

2022-08-09 22:34:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-09 22:34:35 | entity: <data><node>node_yjx6js0204</node><expire-at>2022-08-10T05:34:40Z</expire-at><entry><content>content_bxizio0208</content></entry></data>

2022-08-09 22:34:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f00f012-f415-46e5-be48-a85f8a24b5f1</value></item-id></result>

2022-08-09 22:34:35 | contains: true

2022-08-09 22:34:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-09 22:34:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-09 22:34:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-09 22:34:44 | [Mutex] waiting for: [user_regularunu4qp0203@test-domain.com:message:received:content_bxizio0208]

2022-08-09 22:34:44 | [Mutex] waiting for: [user_regularunu4qp0203@test-domain.com:message:received:content_bxizio0208]

2022-08-09 22:34:44 | [Mutex] waiting for: [user_regularunu4qp0203@test-domain.com:message:received:content_bxizio0208]

2022-08-09 22:34:59 | [Mutex] timeout. Not received [user_regularunu4qp0203@test-domain.com:message:received:content_bxizio0208]

2022-08-09 22:34:59 | [Mutex] received everything.

2022-08-09 22:34:59 | [Mutex] isItemNotified: user_regularunu4qp0203@test-domain.com:message:received:content_bxizio0208 :: false

2022-08-09 22:34:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bxizio0208 :: true