Generated by TestNG with ReportNG at 22:19 PDT on Monday 08 August 2022
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.563s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.597s
2022-08-08 22:41:04 |

2022-08-08 22:41:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-08 22:41:04 | ------------------------------------

2022-08-08 22:41:04 | [Mutex] isItemNotified: node_ergyf90204:exists :: false

2022-08-08 22:41:04 | [Mutex] waiting for: [node_ergyf90204:create_node]

2022-08-08 22:41:04 | [Mutex] received everything.

2022-08-08 22:41:04 | [Mutex] isItemNotified: node_ergyf90204:create_node:success :: true

2022-08-08 22:41:04 | [Mutex] waiting for: [node_ergyf90204:subscribe_node]

2022-08-08 22:41:04 | [Mutex] waiting for: [node_ergyf90204:subscribe_node]

2022-08-08 22:41:04 | [Mutex] received everything.

2022-08-08 22:41:04 | [Mutex] isItemNotified: node_ergyf90204:subscribe_node:success :: true

2022-08-08 22:41:04 |


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


2022-08-08 22:41:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 22:41:04 | command: <data><node>node_ergyf90204</node><entry><content>content_so28pr0205</content></entry></data>

2022-08-08 22:41:04 | target: http://localhost:8088

2022-08-08 22:41:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-08 22:41:04 | entity: <data><node>node_ergyf90204</node><entry><content>content_so28pr0205</content></entry></data>

2022-08-08 22:41:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:41:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 22:41:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fbb22eb2-6199-4fcf-b27c-c784dc4d407f</value></item-id></result>

2022-08-08 22:41:04 | contains: true

2022-08-08 22:41:04 | [Mutex] received everything.

2022-08-08 22:41:04 | [Mutex] isItemNotified: user_regulartwy98t0203@test-domain.com:message:received:content_so28pr0205 :: true

2022-08-08 22:41:04 |


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


2022-08-08 22:41:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 22:41:04 | command: <data><node>node_ergyf90204</node><expire-at>2022-08-09T05:40:59Z</expire-at><entry><content>content_9xiuck0206</content></entry></data>

2022-08-08 22:41:04 | target: http://localhost:8088

2022-08-08 22:41:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-08 22:41:04 | entity: <data><node>node_ergyf90204</node><expire-at>2022-08-09T05:40:59Z</expire-at><entry><content>content_9xiuck0206</content></entry></data>

2022-08-08 22:41:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:41:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 22:41:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>43c4531e-70a9-43e0-85b0-5e3f4dbe8247</value></item-id></result>

2022-08-08 22:41:04 | contains: true

2022-08-08 22:41:04 | [Mutex] waiting for: [user_regulartwy98t0203@test-domain.com:message:received:content_9xiuck0206]

2022-08-08 22:41:19 | [Mutex] timeout. Not received [user_regulartwy98t0203@test-domain.com:message:received:content_9xiuck0206]

2022-08-08 22:41:19 | [Mutex] isItemNotified: user_regulartwy98t0203@test-domain.com:message:received:content_9xiuck0206 :: false

2022-08-08 22:41:19 |


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


2022-08-08 22:41:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 22:41:19 | command: <data><node>node_ergyf90204</node><entry><content>content_mckk7b0207</content></entry></data>

2022-08-08 22:41:19 | target: http://localhost:8088

2022-08-08 22:41:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-08 22:41:19 | entity: <data><node>node_ergyf90204</node><entry><content>content_mckk7b0207</content></entry></data>

2022-08-08 22:41:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:41:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 22:41:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d1a96e91-bc28-4700-9510-e52b589a4287</value></item-id></result>

2022-08-08 22:41:19 | contains: true

2022-08-08 22:41:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-08 22:41:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-08 22:41:25 | [Mutex] waiting for: [user_regulartwy98t0203@test-domain.com:message:received:content_mckk7b0207]

2022-08-08 22:41:25 | [Mutex] received everything.

2022-08-08 22:41:25 | [Mutex] isItemNotified: user_regulartwy98t0203@test-domain.com:message:received:content_mckk7b0207 :: true

2022-08-08 22:41:25 |


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


2022-08-08 22:41:25 | [Mutex] received everything.

2022-08-08 22:41:25 | [Mutex] isItemNotified: node_ergyf90204:subscribe_node:success :: true

2022-08-08 22:41:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 22:41:25 | command: <data><node>node_ergyf90204</node><expire-at>2022-08-09T05:41:30Z</expire-at><entry><content>content_z36tp20208</content></entry></data>

2022-08-08 22:41:25 | target: http://localhost:8088

2022-08-08 22:41:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-08 22:41:25 | entity: <data><node>node_ergyf90204</node><expire-at>2022-08-09T05:41:30Z</expire-at><entry><content>content_z36tp20208</content></entry></data>

2022-08-08 22:41:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:41:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 22:41:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fbccbb5e-0065-4f0d-8694-21c2e8e219f2</value></item-id></result>

2022-08-08 22:41:25 | contains: true

2022-08-08 22:41:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-08 22:41:33 | [Mutex] waiting for: [user_regulartwy98t0203@test-domain.com:message:received:content_z36tp20208]

2022-08-08 22:41:48 | [Mutex] timeout. Not received [user_regulartwy98t0203@test-domain.com:message:received:content_z36tp20208]

2022-08-08 22:41:48 | [Mutex] received everything.

2022-08-08 22:41:48 | [Mutex] isItemNotified: user_regulartwy98t0203@test-domain.com:message:received:content_z36tp20208 :: false

2022-08-08 22:41:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z36tp20208 :: true