Generated by TestNG with ReportNG at 10:06 PDT on Tuesday 24 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.585s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.707s
2022-05-24 10:21:09 |

2022-05-24 10:21:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-24 10:21:09 | ------------------------------------

2022-05-24 10:21:09 | [Mutex] isItemNotified: node_ptcaj50204:exists :: false

2022-05-24 10:21:09 | [Mutex] waiting for: [node_ptcaj50204:create_node]

2022-05-24 10:21:09 | [Mutex] received everything.

2022-05-24 10:21:09 | [Mutex] isItemNotified: node_ptcaj50204:create_node:success :: true

2022-05-24 10:21:09 | [Mutex] waiting for: [node_ptcaj50204:subscribe_node]

2022-05-24 10:21:09 | [Mutex] waiting for: [node_ptcaj50204:subscribe_node]

2022-05-24 10:21:09 | [Mutex] received everything.

2022-05-24 10:21:09 | [Mutex] isItemNotified: node_ptcaj50204:subscribe_node:success :: true

2022-05-24 10:21:09 |


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


2022-05-24 10:21:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 10:21:09 | command: <data><node>node_ptcaj50204</node><entry><content>content_3ucsps0205</content></entry></data>

2022-05-24 10:21:09 | target: http://localhost:8088

2022-05-24 10:21:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 10:21:09 | entity: <data><node>node_ptcaj50204</node><entry><content>content_3ucsps0205</content></entry></data>

2022-05-24 10:21:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 17:21:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 10:21:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6fa3326a-c28f-4008-aeea-a92badad4ca9</value></item-id></result>

2022-05-24 10:21:09 | contains: true

2022-05-24 10:21:09 | [Mutex] received everything.

2022-05-24 10:21:09 | [Mutex] isItemNotified: user_regular61zou40203@test-domain.com:message:received:content_3ucsps0205 :: true

2022-05-24 10:21:09 |


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


2022-05-24 10:21:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 10:21:09 | command: <data><node>node_ptcaj50204</node><expire-at>2022-05-24T17:21:04Z</expire-at><entry><content>content_8c89s40206</content></entry></data>

2022-05-24 10:21:09 | target: http://localhost:8088

2022-05-24 10:21:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 10:21:09 | entity: <data><node>node_ptcaj50204</node><expire-at>2022-05-24T17:21:04Z</expire-at><entry><content>content_8c89s40206</content></entry></data>

2022-05-24 10:21:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 17:21:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 10:21:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a37db7a7-aeca-4f90-b7b2-36ba2b668b62</value></item-id></result>

2022-05-24 10:21:09 | contains: true

2022-05-24 10:21:09 | [Mutex] waiting for: [user_regular61zou40203@test-domain.com:message:received:content_8c89s40206]

2022-05-24 10:21:24 | [Mutex] timeout. Not received [user_regular61zou40203@test-domain.com:message:received:content_8c89s40206]

2022-05-24 10:21:24 | [Mutex] isItemNotified: user_regular61zou40203@test-domain.com:message:received:content_8c89s40206 :: false

2022-05-24 10:21:24 |


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


2022-05-24 10:21:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 10:21:24 | command: <data><node>node_ptcaj50204</node><entry><content>content_mt0u5p0207</content></entry></data>

2022-05-24 10:21:24 | target: http://localhost:8088

2022-05-24 10:21:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 10:21:24 | entity: <data><node>node_ptcaj50204</node><entry><content>content_mt0u5p0207</content></entry></data>

2022-05-24 10:21:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 17:21:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 10:21:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5e8a1be1-8353-4d95-b522-e9ce773e8617</value></item-id></result>

2022-05-24 10:21:24 | contains: true

2022-05-24 10:21:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-24 10:21:29 | [Mutex] waiting for: [user_regular61zou40203@test-domain.com:message:received:content_mt0u5p0207]

2022-05-24 10:21:29 | [Mutex] waiting for: [user_regular61zou40203@test-domain.com:message:received:content_mt0u5p0207]

2022-05-24 10:21:29 | [Mutex] received everything.

2022-05-24 10:21:29 | [Mutex] isItemNotified: user_regular61zou40203@test-domain.com:message:received:content_mt0u5p0207 :: true

2022-05-24 10:21:29 |


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


2022-05-24 10:21:29 | [Mutex] received everything.

2022-05-24 10:21:29 | [Mutex] isItemNotified: node_ptcaj50204:subscribe_node:success :: true

2022-05-24 10:21:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 10:21:29 | command: <data><node>node_ptcaj50204</node><expire-at>2022-05-24T17:21:34Z</expire-at><entry><content>content_lhhov60208</content></entry></data>

2022-05-24 10:21:29 | target: http://localhost:8088

2022-05-24 10:21:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 10:21:29 | entity: <data><node>node_ptcaj50204</node><expire-at>2022-05-24T17:21:34Z</expire-at><entry><content>content_lhhov60208</content></entry></data>

2022-05-24 10:21:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 17:21:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 10:21:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>07bfc58b-d693-4ad4-be36-8db6ca1c38a8</value></item-id></result>

2022-05-24 10:21:30 | contains: true

2022-05-24 10:21:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-24 10:21:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-24 10:21:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 10:21:38 | [Mutex] waiting for: [user_regular61zou40203@test-domain.com:message:received:content_lhhov60208]

2022-05-24 10:21:53 | [Mutex] timeout. Not received [user_regular61zou40203@test-domain.com:message:received:content_lhhov60208]

2022-05-24 10:21:53 | [Mutex] received everything.

2022-05-24 10:21:53 | [Mutex] isItemNotified: user_regular61zou40203@test-domain.com:message:received:content_lhhov60208 :: false

2022-05-24 10:21:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lhhov60208 :: true