Generated by TestNG with ReportNG at 21:29 PST on Tuesday 10 January 2023
root@7c41cec37518 / 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.806s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.702s
2023-01-10 21:47:19 |

2023-01-10 21:47:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-01-10 21:47:19 | ------------------------------------

2023-01-10 21:47:19 | [Mutex] isItemNotified: node_pn7vwo0204:exists :: false

2023-01-10 21:47:19 | [Mutex] waiting for: [node_pn7vwo0204:create_node]

2023-01-10 21:47:19 | [Mutex] received everything.

2023-01-10 21:47:19 | [Mutex] isItemNotified: node_pn7vwo0204:create_node:success :: true

2023-01-10 21:47:19 | [Mutex] waiting for: [node_pn7vwo0204:subscribe_node]

2023-01-10 21:47:19 | [Mutex] received everything.

2023-01-10 21:47:19 | [Mutex] isItemNotified: node_pn7vwo0204:subscribe_node:success :: true

2023-01-10 21:47:19 |


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


2023-01-10 21:47:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-10 21:47:19 | command: <data><node>node_pn7vwo0204</node><entry><content>content_bykw3g0205</content></entry></data>

2023-01-10 21:47:19 | target: http://localhost:8088

2023-01-10 21:47:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-10 21:47:19 | entity: <data><node>node_pn7vwo0204</node><entry><content>content_bykw3g0205</content></entry></data>

2023-01-10 21:47:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:47:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-10 21:47:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cb248500-dc39-4146-88cc-eaccbcd932e9</value></item-id></result>

2023-01-10 21:47:19 | contains: true

2023-01-10 21:47:19 | [Mutex] waiting for: [user_regularfaa2kg0203@test-domain.com:message:received:content_bykw3g0205]

2023-01-10 21:47:19 | [Mutex] received everything.

2023-01-10 21:47:19 | [Mutex] isItemNotified: user_regularfaa2kg0203@test-domain.com:message:received:content_bykw3g0205 :: true

2023-01-10 21:47:19 |


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


2023-01-10 21:47:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-10 21:47:19 | command: <data><node>node_pn7vwo0204</node><expire-at>2023-01-11T05:47:14Z</expire-at><entry><content>content_mkchjk0206</content></entry></data>

2023-01-10 21:47:19 | target: http://localhost:8088

2023-01-10 21:47:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-10 21:47:19 | entity: <data><node>node_pn7vwo0204</node><expire-at>2023-01-11T05:47:14Z</expire-at><entry><content>content_mkchjk0206</content></entry></data>

2023-01-10 21:47:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:47:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-10 21:47:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2c84e429-df45-4d78-acc8-06e657e16d5c</value></item-id></result>

2023-01-10 21:47:19 | contains: true

2023-01-10 21:47:19 | [Mutex] waiting for: [user_regularfaa2kg0203@test-domain.com:message:received:content_mkchjk0206]

2023-01-10 21:47:34 | [Mutex] timeout. Not received [user_regularfaa2kg0203@test-domain.com:message:received:content_mkchjk0206]

2023-01-10 21:47:34 | [Mutex] isItemNotified: user_regularfaa2kg0203@test-domain.com:message:received:content_mkchjk0206 :: false

2023-01-10 21:47:34 |


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


2023-01-10 21:47:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-10 21:47:35 | command: <data><node>node_pn7vwo0204</node><entry><content>content_lxflck0207</content></entry></data>

2023-01-10 21:47:35 | target: http://localhost:8088

2023-01-10 21:47:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-10 21:47:35 | entity: <data><node>node_pn7vwo0204</node><entry><content>content_lxflck0207</content></entry></data>

2023-01-10 21:47:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:47:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-10 21:47:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c6cb1f5-0afc-4849-ae3b-1919cb085ef5</value></item-id></result>

2023-01-10 21:47:35 | contains: true

2023-01-10 21:47:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-10 21:47:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-01-10 21:47:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-10 21:47:40 | [Mutex] waiting for: [user_regularfaa2kg0203@test-domain.com:message:received:content_lxflck0207]

2023-01-10 21:47:40 | [Mutex] waiting for: [user_regularfaa2kg0203@test-domain.com:message:received:content_lxflck0207]

2023-01-10 21:47:40 | [Mutex] received everything.

2023-01-10 21:47:40 | [Mutex] isItemNotified: user_regularfaa2kg0203@test-domain.com:message:received:content_lxflck0207 :: true

2023-01-10 21:47:40 |


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


2023-01-10 21:47:40 | [Mutex] received everything.

2023-01-10 21:47:40 | [Mutex] isItemNotified: node_pn7vwo0204:subscribe_node:success :: true

2023-01-10 21:47:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-10 21:47:40 | command: <data><node>node_pn7vwo0204</node><expire-at>2023-01-11T05:47:45Z</expire-at><entry><content>content_3l289q0208</content></entry></data>

2023-01-10 21:47:40 | target: http://localhost:8088

2023-01-10 21:47:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-10 21:47:40 | entity: <data><node>node_pn7vwo0204</node><expire-at>2023-01-11T05:47:45Z</expire-at><entry><content>content_3l289q0208</content></entry></data>

2023-01-10 21:47:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:47:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-10 21:47:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f59f9052-dd4a-4b79-9407-327c424f34bc</value></item-id></result>

2023-01-10 21:47:40 | contains: true

2023-01-10 21:47:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-01-10 21:47:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-10 21:47:48 | [Mutex] waiting for: [user_regularfaa2kg0203@test-domain.com:message:received:content_3l289q0208]

2023-01-10 21:47:48 | [Mutex] waiting for: [user_regularfaa2kg0203@test-domain.com:message:received:content_3l289q0208]

2023-01-10 21:48:03 | [Mutex] timeout. Not received [user_regularfaa2kg0203@test-domain.com:message:received:content_3l289q0208]

2023-01-10 21:48:03 | [Mutex] received everything.

2023-01-10 21:48:03 | [Mutex] isItemNotified: user_regularfaa2kg0203@test-domain.com:message:received:content_3l289q0208 :: false

2023-01-10 21:48:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3l289q0208 :: true