Generated by TestNG with ReportNG at 21:15 PST on Wednesday 15 February 2023
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.460s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2023-02-15 21:29:52 |

2023-02-15 21:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-15 21:29:52 | ------------------------------------

2023-02-15 21:29:52 | [Mutex] isItemNotified: node_pn2r6q0204:exists :: false

2023-02-15 21:29:52 | [Mutex] waiting for: [node_pn2r6q0204:create_node]

2023-02-15 21:29:52 | [Mutex] waiting for: [node_pn2r6q0204:create_node]

2023-02-15 21:29:52 | [Mutex] received everything.

2023-02-15 21:29:52 | [Mutex] isItemNotified: node_pn2r6q0204:create_node:success :: true

2023-02-15 21:29:52 | [Mutex] waiting for: [node_pn2r6q0204:subscribe_node]

2023-02-15 21:29:52 | [Mutex] waiting for: [node_pn2r6q0204:subscribe_node]

2023-02-15 21:29:52 | [Mutex] received everything.

2023-02-15 21:29:52 | [Mutex] isItemNotified: node_pn2r6q0204:subscribe_node:success :: true

2023-02-15 21:29:52 |


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


2023-02-15 21:29:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:29:52 | command: <data><node>node_pn2r6q0204</node><entry><content>content_rr2eiq0205</content></entry></data>

2023-02-15 21:29:52 | target: http://localhost:8088

2023-02-15 21:29:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-15 21:29:52 | entity: <data><node>node_pn2r6q0204</node><entry><content>content_rr2eiq0205</content></entry></data>

2023-02-15 21:29:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:29:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:29:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>defe728a-e307-4bdc-b3df-aa0f5490bc4f</value></item-id></result>

2023-02-15 21:29:52 | contains: true

2023-02-15 21:29:52 | [Mutex] waiting for: [user_regularhvrqsz0203@test-domain.com:message:received:content_rr2eiq0205]

2023-02-15 21:29:52 | [Mutex] received everything.

2023-02-15 21:29:52 | [Mutex] isItemNotified: user_regularhvrqsz0203@test-domain.com:message:received:content_rr2eiq0205 :: true

2023-02-15 21:29:52 |


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


2023-02-15 21:29:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:29:52 | command: <data><node>node_pn2r6q0204</node><expire-at>2023-02-16T05:29:47Z</expire-at><entry><content>content_o3exi60206</content></entry></data>

2023-02-15 21:29:52 | target: http://localhost:8088

2023-02-15 21:29:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-15 21:29:52 | entity: <data><node>node_pn2r6q0204</node><expire-at>2023-02-16T05:29:47Z</expire-at><entry><content>content_o3exi60206</content></entry></data>

2023-02-15 21:29:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:29:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:29:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5701d754-594c-4d62-aa36-a5fcdf01ccd5</value></item-id></result>

2023-02-15 21:29:52 | contains: true

2023-02-15 21:29:52 | [Mutex] waiting for: [user_regularhvrqsz0203@test-domain.com:message:received:content_o3exi60206]

2023-02-15 21:30:07 | [Mutex] timeout. Not received [user_regularhvrqsz0203@test-domain.com:message:received:content_o3exi60206]

2023-02-15 21:30:07 | [Mutex] isItemNotified: user_regularhvrqsz0203@test-domain.com:message:received:content_o3exi60206 :: false

2023-02-15 21:30:07 |


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


2023-02-15 21:30:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:30:07 | command: <data><node>node_pn2r6q0204</node><entry><content>content_j50u5g0207</content></entry></data>

2023-02-15 21:30:07 | target: http://localhost:8088

2023-02-15 21:30:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-15 21:30:07 | entity: <data><node>node_pn2r6q0204</node><entry><content>content_j50u5g0207</content></entry></data>

2023-02-15 21:30:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:30:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:30:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>22cb35ab-56b7-4701-b82f-421c02347aa3</value></item-id></result>

2023-02-15 21:30:07 | contains: true

2023-02-15 21:30:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-15 21:30:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-15 21:30:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-15 21:30:12 | [Mutex] waiting for: [user_regularhvrqsz0203@test-domain.com:message:received:content_j50u5g0207]

2023-02-15 21:30:12 | [Mutex] waiting for: [user_regularhvrqsz0203@test-domain.com:message:received:content_j50u5g0207]

2023-02-15 21:30:12 | [Mutex] received everything.

2023-02-15 21:30:12 | [Mutex] isItemNotified: user_regularhvrqsz0203@test-domain.com:message:received:content_j50u5g0207 :: true

2023-02-15 21:30:12 |


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


2023-02-15 21:30:12 | [Mutex] received everything.

2023-02-15 21:30:12 | [Mutex] isItemNotified: node_pn2r6q0204:subscribe_node:success :: true

2023-02-15 21:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:30:12 | command: <data><node>node_pn2r6q0204</node><expire-at>2023-02-16T05:30:17Z</expire-at><entry><content>content_4rfo3c0208</content></entry></data>

2023-02-15 21:30:12 | target: http://localhost:8088

2023-02-15 21:30:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-15 21:30:12 | entity: <data><node>node_pn2r6q0204</node><expire-at>2023-02-16T05:30:17Z</expire-at><entry><content>content_4rfo3c0208</content></entry></data>

2023-02-15 21:30:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:30:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:30:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>962c87de-e4ad-4c22-b318-fd8e23ae9da3</value></item-id></result>

2023-02-15 21:30:13 | contains: true

2023-02-15 21:30:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-15 21:30:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-15 21:30:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-15 21:30:21 | [Mutex] waiting for: [user_regularhvrqsz0203@test-domain.com:message:received:content_4rfo3c0208]

2023-02-15 21:30:21 | [Mutex] waiting for: [user_regularhvrqsz0203@test-domain.com:message:received:content_4rfo3c0208]

2023-02-15 21:30:21 | [Mutex] waiting for: [user_regularhvrqsz0203@test-domain.com:message:received:content_4rfo3c0208]

2023-02-15 21:30:36 | [Mutex] timeout. Not received [user_regularhvrqsz0203@test-domain.com:message:received:content_4rfo3c0208]

2023-02-15 21:30:36 | [Mutex] received everything.

2023-02-15 21:30:36 | [Mutex] isItemNotified: user_regularhvrqsz0203@test-domain.com:message:received:content_4rfo3c0208 :: false

2023-02-15 21:30:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4rfo3c0208 :: true