Generated by TestNG with ReportNG at 21:52 PST on Thursday 24 November 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.840s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.583s
2022-11-24 22:06:45 |

2022-11-24 22:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-11-24 22:06:45 | ------------------------------------

2022-11-24 22:06:45 | [Mutex] isItemNotified: node_gqpv2d0204:exists :: false

2022-11-24 22:06:45 | [Mutex] waiting for: [node_gqpv2d0204:create_node]

2022-11-24 22:06:45 | [Mutex] received everything.

2022-11-24 22:06:45 | [Mutex] isItemNotified: node_gqpv2d0204:create_node:success :: true

2022-11-24 22:06:45 | [Mutex] waiting for: [node_gqpv2d0204:subscribe_node]

2022-11-24 22:06:45 | [Mutex] waiting for: [node_gqpv2d0204:subscribe_node]

2022-11-24 22:06:45 | [Mutex] received everything.

2022-11-24 22:06:45 | [Mutex] isItemNotified: node_gqpv2d0204:subscribe_node:success :: true

2022-11-24 22:06:45 |


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


2022-11-24 22:06:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 22:06:45 | command: <data><node>node_gqpv2d0204</node><entry><content>content_hshph60205</content></entry></data>

2022-11-24 22:06:45 | target: http://localhost:8088

2022-11-24 22:06:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-24 22:06:45 | entity: <data><node>node_gqpv2d0204</node><entry><content>content_hshph60205</content></entry></data>

2022-11-24 22:06:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 06:06:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 22:06:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7bf6f0f3-1eb5-4d4b-944d-3b4a793728ba</value></item-id></result>

2022-11-24 22:06:45 | contains: true

2022-11-24 22:06:45 | [Mutex] received everything.

2022-11-24 22:06:45 | [Mutex] isItemNotified: user_regularhqove60203@test-domain.com:message:received:content_hshph60205 :: true

2022-11-24 22:06:45 |


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


2022-11-24 22:06:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 22:06:45 | command: <data><node>node_gqpv2d0204</node><expire-at>2022-11-25T06:06:40Z</expire-at><entry><content>content_a3c7rh0206</content></entry></data>

2022-11-24 22:06:45 | target: http://localhost:8088

2022-11-24 22:06:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-24 22:06:45 | entity: <data><node>node_gqpv2d0204</node><expire-at>2022-11-25T06:06:40Z</expire-at><entry><content>content_a3c7rh0206</content></entry></data>

2022-11-24 22:06:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 06:06:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 22:06:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>62672708-4678-4036-9fcd-81b98afcec57</value></item-id></result>

2022-11-24 22:06:45 | contains: true

2022-11-24 22:06:45 | [Mutex] waiting for: [user_regularhqove60203@test-domain.com:message:received:content_a3c7rh0206]

2022-11-24 22:07:00 | [Mutex] timeout. Not received [user_regularhqove60203@test-domain.com:message:received:content_a3c7rh0206]

2022-11-24 22:07:00 | [Mutex] isItemNotified: user_regularhqove60203@test-domain.com:message:received:content_a3c7rh0206 :: false

2022-11-24 22:07:00 |


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


2022-11-24 22:07:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 22:07:00 | command: <data><node>node_gqpv2d0204</node><entry><content>content_8vurq0207</content></entry></data>

2022-11-24 22:07:00 | target: http://localhost:8088

2022-11-24 22:07:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-11-24 22:07:00 | entity: <data><node>node_gqpv2d0204</node><entry><content>content_8vurq0207</content></entry></data>

2022-11-24 22:07:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 06:07:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 22:07:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f60703f-cdb3-4bc3-8dc1-30abce19a7fc</value></item-id></result>

2022-11-24 22:07:00 | contains: true

2022-11-24 22:07:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-11-24 22:07:05 | [Mutex] waiting for: [user_regularhqove60203@test-domain.com:message:received:content_8vurq0207]

2022-11-24 22:07:05 | [Mutex] waiting for: [user_regularhqove60203@test-domain.com:message:received:content_8vurq0207]

2022-11-24 22:07:05 | [Mutex] received everything.

2022-11-24 22:07:05 | [Mutex] isItemNotified: user_regularhqove60203@test-domain.com:message:received:content_8vurq0207 :: true

2022-11-24 22:07:05 |


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


2022-11-24 22:07:05 | [Mutex] received everything.

2022-11-24 22:07:05 | [Mutex] isItemNotified: node_gqpv2d0204:subscribe_node:success :: true

2022-11-24 22:07:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 22:07:05 | command: <data><node>node_gqpv2d0204</node><expire-at>2022-11-25T06:07:10Z</expire-at><entry><content>content_g98ntc0208</content></entry></data>

2022-11-24 22:07:05 | target: http://localhost:8088

2022-11-24 22:07:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-24 22:07:05 | entity: <data><node>node_gqpv2d0204</node><expire-at>2022-11-25T06:07:10Z</expire-at><entry><content>content_g98ntc0208</content></entry></data>

2022-11-24 22:07:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 06:07:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 22:07:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9249bb2b-b0dc-4ef4-aa4e-13cbef1d2cc5</value></item-id></result>

2022-11-24 22:07:06 | contains: true

2022-11-24 22:07:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-11-24 22:07:14 | [Mutex] waiting for: [user_regularhqove60203@test-domain.com:message:received:content_g98ntc0208]

2022-11-24 22:07:29 | [Mutex] timeout. Not received [user_regularhqove60203@test-domain.com:message:received:content_g98ntc0208]

2022-11-24 22:07:29 | [Mutex] received everything.

2022-11-24 22:07:29 | [Mutex] isItemNotified: user_regularhqove60203@test-domain.com:message:received:content_g98ntc0208 :: false

2022-11-24 22:07:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g98ntc0208 :: true