Generated by TestNG with ReportNG at 22:50 PDT on Sunday 08 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 : 45.084s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.664s
2022-05-08 23:13:00 |

2022-05-08 23:13:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-08 23:13:00 | ------------------------------------

2022-05-08 23:13:00 | [Mutex] isItemNotified: node_s3vjc80204:exists :: false

2022-05-08 23:13:00 | [Mutex] waiting for: [node_s3vjc80204:create_node]

2022-05-08 23:13:00 | [Mutex] received everything.

2022-05-08 23:13:00 | [Mutex] isItemNotified: node_s3vjc80204:create_node:success :: true

2022-05-08 23:13:00 | [Mutex] waiting for: [node_s3vjc80204:subscribe_node]

2022-05-08 23:13:00 | [Mutex] received everything.

2022-05-08 23:13:00 | [Mutex] isItemNotified: node_s3vjc80204:subscribe_node:success :: true

2022-05-08 23:13:00 |


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


2022-05-08 23:13:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:13:00 | command: <data><node>node_s3vjc80204</node><entry><content>content_1rp96k0205</content></entry></data>

2022-05-08 23:13:00 | target: http://localhost:8088

2022-05-08 23:13:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-08 23:13:00 | entity: <data><node>node_s3vjc80204</node><entry><content>content_1rp96k0205</content></entry></data>

2022-05-08 23:13:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:13:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:13:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>92c6ddde-bdd7-4587-b452-59eb92cf775d</value></item-id></result>

2022-05-08 23:13:00 | contains: true

2022-05-08 23:13:00 | [Mutex] received everything.

2022-05-08 23:13:00 | [Mutex] isItemNotified: user_regularu19teq0203@test-domain.com:message:received:content_1rp96k0205 :: true

2022-05-08 23:13:00 |


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


2022-05-08 23:13:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:13:00 | command: <data><node>node_s3vjc80204</node><expire-at>2022-05-09T06:12:55Z</expire-at><entry><content>content_jna98h0206</content></entry></data>

2022-05-08 23:13:00 | target: http://localhost:8088

2022-05-08 23:13:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-08 23:13:00 | entity: <data><node>node_s3vjc80204</node><expire-at>2022-05-09T06:12:55Z</expire-at><entry><content>content_jna98h0206</content></entry></data>

2022-05-08 23:13:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:13:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:13:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>25365e6e-37c5-491d-94d9-66e290b42c26</value></item-id></result>

2022-05-08 23:13:00 | contains: true

2022-05-08 23:13:00 | [Mutex] waiting for: [user_regularu19teq0203@test-domain.com:message:received:content_jna98h0206]

2022-05-08 23:13:15 | [Mutex] timeout. Not received [user_regularu19teq0203@test-domain.com:message:received:content_jna98h0206]

2022-05-08 23:13:15 | [Mutex] isItemNotified: user_regularu19teq0203@test-domain.com:message:received:content_jna98h0206 :: false

2022-05-08 23:13:15 |


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


2022-05-08 23:13:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:13:15 | command: <data><node>node_s3vjc80204</node><entry><content>content_59z3up0207</content></entry></data>

2022-05-08 23:13:15 | target: http://localhost:8088

2022-05-08 23:13:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-08 23:13:15 | entity: <data><node>node_s3vjc80204</node><entry><content>content_59z3up0207</content></entry></data>

2022-05-08 23:13:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:13:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:13:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ba7c04ee-0c2e-4427-8698-0e148a23430d</value></item-id></result>

2022-05-08 23:13:15 | contains: true

2022-05-08 23:13:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-08 23:13:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-08 23:13:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-08 23:13:20 | [Mutex] waiting for: [user_regularu19teq0203@test-domain.com:message:received:content_59z3up0207]

2022-05-08 23:13:20 | [Mutex] received everything.

2022-05-08 23:13:20 | [Mutex] isItemNotified: user_regularu19teq0203@test-domain.com:message:received:content_59z3up0207 :: true

2022-05-08 23:13:20 |


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


2022-05-08 23:13:20 | [Mutex] received everything.

2022-05-08 23:13:20 | [Mutex] isItemNotified: node_s3vjc80204:subscribe_node:success :: true

2022-05-08 23:13:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:13:20 | command: <data><node>node_s3vjc80204</node><expire-at>2022-05-09T06:13:25Z</expire-at><entry><content>content_w0bv3n0208</content></entry></data>

2022-05-08 23:13:20 | target: http://localhost:8088

2022-05-08 23:13:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-08 23:13:20 | entity: <data><node>node_s3vjc80204</node><expire-at>2022-05-09T06:13:25Z</expire-at><entry><content>content_w0bv3n0208</content></entry></data>

2022-05-08 23:13:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:13:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:13:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2991853c-058c-4fd5-a501-b9757526decd</value></item-id></result>

2022-05-08 23:13:20 | contains: true

2022-05-08 23:13:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-08 23:13:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-08 23:13:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-08 23:13:28 | [Mutex] waiting for: [user_regularu19teq0203@test-domain.com:message:received:content_w0bv3n0208]

2022-05-08 23:13:28 | [Mutex] waiting for: [user_regularu19teq0203@test-domain.com:message:received:content_w0bv3n0208]

2022-05-08 23:13:43 | [Mutex] timeout. Not received [user_regularu19teq0203@test-domain.com:message:received:content_w0bv3n0208]

2022-05-08 23:13:43 | [Mutex] received everything.

2022-05-08 23:13:43 | [Mutex] isItemNotified: user_regularu19teq0203@test-domain.com:message:received:content_w0bv3n0208 :: false

2022-05-08 23:13:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w0bv3n0208 :: true