The command you mentioned is typically used to test the physical transceiver or the internal path of the interface, but since you have a vSRX it relies on the state of the vNIC
The command below is used for virtual environments or scenarios where you want to test routing without a cable plugged in
set interfaces ge-0/0/8 gigether-options no-carrier
-------------------------------------------