Generated by TestNG with ReportNG at 21:15 PST on Sunday 05 March 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.687s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.653s
2023-03-05 21:29:40 |

2023-03-05 21:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-05 21:29:40 | ------------------------------------

2023-03-05 21:29:40 | [Mutex] isItemNotified: node_qog1ey0204:exists :: false

2023-03-05 21:29:40 | [Mutex] waiting for: [node_qog1ey0204:create_node]

2023-03-05 21:29:40 | [Mutex] received everything.

2023-03-05 21:29:40 | [Mutex] isItemNotified: node_qog1ey0204:create_node:success :: true

2023-03-05 21:29:40 | [Mutex] waiting for: [node_qog1ey0204:subscribe_node]

2023-03-05 21:29:40 | [Mutex] waiting for: [node_qog1ey0204:subscribe_node]

2023-03-05 21:29:40 | [Mutex] received everything.

2023-03-05 21:29:40 | [Mutex] isItemNotified: node_qog1ey0204:subscribe_node:success :: true

2023-03-05 21:29:40 |


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


2023-03-05 21:29:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:29:40 | command: <data><node>node_qog1ey0204</node><entry><content>content_uoscjh0205</content></entry></data>

2023-03-05 21:29:40 | target: http://localhost:8088

2023-03-05 21:29:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-05 21:29:40 | entity: <data><node>node_qog1ey0204</node><entry><content>content_uoscjh0205</content></entry></data>

2023-03-05 21:29:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:29:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:29:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b77dd7df-3371-463f-aef9-f679d0adba02</value></item-id></result>

2023-03-05 21:29:40 | contains: true

2023-03-05 21:29:40 | [Mutex] received everything.

2023-03-05 21:29:40 | [Mutex] isItemNotified: user_regularesbxr50203@test-domain.com:message:received:content_uoscjh0205 :: true

2023-03-05 21:29:40 |


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


2023-03-05 21:29:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:29:40 | command: <data><node>node_qog1ey0204</node><expire-at>2023-03-06T05:29:35Z</expire-at><entry><content>content_pgmv0n0206</content></entry></data>

2023-03-05 21:29:40 | target: http://localhost:8088

2023-03-05 21:29:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-05 21:29:40 | entity: <data><node>node_qog1ey0204</node><expire-at>2023-03-06T05:29:35Z</expire-at><entry><content>content_pgmv0n0206</content></entry></data>

2023-03-05 21:29:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:29:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:29:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4fbb1c1f-6a7b-4a06-b438-eb07db9b8e3f</value></item-id></result>

2023-03-05 21:29:40 | contains: true

2023-03-05 21:29:40 | [Mutex] waiting for: [user_regularesbxr50203@test-domain.com:message:received:content_pgmv0n0206]

2023-03-05 21:29:55 | [Mutex] timeout. Not received [user_regularesbxr50203@test-domain.com:message:received:content_pgmv0n0206]

2023-03-05 21:29:55 | [Mutex] isItemNotified: user_regularesbxr50203@test-domain.com:message:received:content_pgmv0n0206 :: false

2023-03-05 21:29:55 |


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


2023-03-05 21:29:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:29:55 | command: <data><node>node_qog1ey0204</node><entry><content>content_dra47v0207</content></entry></data>

2023-03-05 21:29:55 | target: http://localhost:8088

2023-03-05 21:29:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-05 21:29:55 | entity: <data><node>node_qog1ey0204</node><entry><content>content_dra47v0207</content></entry></data>

2023-03-05 21:29:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:29:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:29:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5927f2a0-97fa-4f39-9036-f95371a11077</value></item-id></result>

2023-03-05 21:29:55 | contains: true

2023-03-05 21:30:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-05 21:30:00 | [Mutex] waiting for: [user_regularesbxr50203@test-domain.com:message:received:content_dra47v0207]

2023-03-05 21:30:00 | [Mutex] waiting for: [user_regularesbxr50203@test-domain.com:message:received:content_dra47v0207]

2023-03-05 21:30:00 | [Mutex] received everything.

2023-03-05 21:30:00 | [Mutex] isItemNotified: user_regularesbxr50203@test-domain.com:message:received:content_dra47v0207 :: true

2023-03-05 21:30:00 |


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


2023-03-05 21:30:00 | [Mutex] received everything.

2023-03-05 21:30:00 | [Mutex] isItemNotified: node_qog1ey0204:subscribe_node:success :: true

2023-03-05 21:30:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:30:00 | command: <data><node>node_qog1ey0204</node><expire-at>2023-03-06T05:30:05Z</expire-at><entry><content>content_ufzv7s0208</content></entry></data>

2023-03-05 21:30:00 | target: http://localhost:8088

2023-03-05 21:30:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-05 21:30:00 | entity: <data><node>node_qog1ey0204</node><expire-at>2023-03-06T05:30:05Z</expire-at><entry><content>content_ufzv7s0208</content></entry></data>

2023-03-05 21:30:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:30:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:30:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>edbffaa8-c874-4fe5-bcb6-1e43c493ac23</value></item-id></result>

2023-03-05 21:30:00 | contains: true

2023-03-05 21:30:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-05 21:30:08 | [Mutex] waiting for: [user_regularesbxr50203@test-domain.com:message:received:content_ufzv7s0208]

2023-03-05 21:30:23 | [Mutex] timeout. Not received [user_regularesbxr50203@test-domain.com:message:received:content_ufzv7s0208]

2023-03-05 21:30:23 | [Mutex] received everything.

2023-03-05 21:30:23 | [Mutex] isItemNotified: user_regularesbxr50203@test-domain.com:message:received:content_ufzv7s0208 :: false

2023-03-05 21:30:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ufzv7s0208 :: true