Generated by TestNG with ReportNG at 22:17 PDT on Sunday 03 July 2022
root@f9c07ffec79b / 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.850s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.627s
2022-07-03 22:32:59 |

2022-07-03 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-03 22:32:59 | ------------------------------------

2022-07-03 22:32:59 | [Mutex] isItemNotified: node_mpehug0204:exists :: false

2022-07-03 22:32:59 | [Mutex] waiting for: [node_mpehug0204:create_node]

2022-07-03 22:32:59 | [Mutex] waiting for: [node_mpehug0204:create_node]

2022-07-03 22:32:59 | [Mutex] received everything.

2022-07-03 22:32:59 | [Mutex] isItemNotified: node_mpehug0204:create_node:success :: true

2022-07-03 22:32:59 | [Mutex] waiting for: [node_mpehug0204:subscribe_node]

2022-07-03 22:32:59 | [Mutex] received everything.

2022-07-03 22:32:59 | [Mutex] isItemNotified: node_mpehug0204:subscribe_node:success :: true

2022-07-03 22:32:59 |


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


2022-07-03 22:32:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 22:32:59 | command: <data><node>node_mpehug0204</node><entry><content>content_18rl2b0205</content></entry></data>

2022-07-03 22:32:59 | target: http://localhost:8088

2022-07-03 22:32:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-03 22:32:59 | entity: <data><node>node_mpehug0204</node><entry><content>content_18rl2b0205</content></entry></data>

2022-07-03 22:32:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:32:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 22:32:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>04f86269-3662-4b8c-8062-16ee2b0c18cf</value></item-id></result>

2022-07-03 22:32:59 | contains: true

2022-07-03 22:32:59 | [Mutex] received everything.

2022-07-03 22:32:59 | [Mutex] isItemNotified: user_regulartgp45v0203@test-domain.com:message:received:content_18rl2b0205 :: true

2022-07-03 22:32:59 |


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


2022-07-03 22:32:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 22:32:59 | command: <data><node>node_mpehug0204</node><expire-at>2022-07-04T05:32:54Z</expire-at><entry><content>content_9cho9w0206</content></entry></data>

2022-07-03 22:32:59 | target: http://localhost:8088

2022-07-03 22:32:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-03 22:32:59 | entity: <data><node>node_mpehug0204</node><expire-at>2022-07-04T05:32:54Z</expire-at><entry><content>content_9cho9w0206</content></entry></data>

2022-07-03 22:32:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:32:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 22:32:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e414e76a-86fc-4c54-93f1-408d5e44a7f1</value></item-id></result>

2022-07-03 22:32:59 | contains: true

2022-07-03 22:32:59 | [Mutex] waiting for: [user_regulartgp45v0203@test-domain.com:message:received:content_9cho9w0206]

2022-07-03 22:33:14 | [Mutex] timeout. Not received [user_regulartgp45v0203@test-domain.com:message:received:content_9cho9w0206]

2022-07-03 22:33:14 | [Mutex] isItemNotified: user_regulartgp45v0203@test-domain.com:message:received:content_9cho9w0206 :: false

2022-07-03 22:33:14 |


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


2022-07-03 22:33:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 22:33:14 | command: <data><node>node_mpehug0204</node><entry><content>content_k9exot0207</content></entry></data>

2022-07-03 22:33:14 | target: http://localhost:8088

2022-07-03 22:33:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-03 22:33:14 | entity: <data><node>node_mpehug0204</node><entry><content>content_k9exot0207</content></entry></data>

2022-07-03 22:33:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:33:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 22:33:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>18dc0dc0-d1f8-4478-b6e7-470d55783bcb</value></item-id></result>

2022-07-03 22:33:14 | contains: true

2022-07-03 22:33:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-03 22:33:19 | [Mutex] waiting for: [user_regulartgp45v0203@test-domain.com:message:received:content_k9exot0207]

2022-07-03 22:33:19 | [Mutex] waiting for: [user_regulartgp45v0203@test-domain.com:message:received:content_k9exot0207]

2022-07-03 22:33:19 | [Mutex] received everything.

2022-07-03 22:33:19 | [Mutex] isItemNotified: user_regulartgp45v0203@test-domain.com:message:received:content_k9exot0207 :: true

2022-07-03 22:33:19 |


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


2022-07-03 22:33:19 | [Mutex] received everything.

2022-07-03 22:33:19 | [Mutex] isItemNotified: node_mpehug0204:subscribe_node:success :: true

2022-07-03 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 22:33:19 | command: <data><node>node_mpehug0204</node><expire-at>2022-07-04T05:33:24Z</expire-at><entry><content>content_u75o5a0208</content></entry></data>

2022-07-03 22:33:19 | target: http://localhost:8088

2022-07-03 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-03 22:33:19 | entity: <data><node>node_mpehug0204</node><expire-at>2022-07-04T05:33:24Z</expire-at><entry><content>content_u75o5a0208</content></entry></data>

2022-07-03 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29250fcd-e7b1-46be-b505-e4011232fba9</value></item-id></result>

2022-07-03 22:33:19 | contains: true

2022-07-03 22:33:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-03 22:33:27 | [Mutex] waiting for: [user_regulartgp45v0203@test-domain.com:message:received:content_u75o5a0208]

2022-07-03 22:33:27 | [Mutex] waiting for: [user_regulartgp45v0203@test-domain.com:message:received:content_u75o5a0208]

2022-07-03 22:33:42 | [Mutex] timeout. Not received [user_regulartgp45v0203@test-domain.com:message:received:content_u75o5a0208]

2022-07-03 22:33:42 | [Mutex] received everything.

2022-07-03 22:33:42 | [Mutex] isItemNotified: user_regulartgp45v0203@test-domain.com:message:received:content_u75o5a0208 :: false

2022-07-03 22:33:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u75o5a0208 :: true